changeset 20307:eac578fa4e75

Temporary hotfix: Move -fPIC after OPTFLAGS so that -fno-PIC gets overridden.
author diego
date Thu, 19 Oct 2006 21:58:57 +0000
parents 565df9b68536
children 0e4e0f1b4af9
files libdha/Makefile vidix/drivers/Makefile
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Thu Oct 19 21:29:17 2006 +0000
+++ b/libdha/Makefile	Thu Oct 19 21:58:57 2006 +0000
@@ -29,7 +29,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = -fPIC -I. -I.. $(OPTFLAGS)
+CFLAGS  = -I. -I.. $(OPTFLAGS) -fPIC
 
 ifeq ($(TARGET_OS),OpenBSD)
 ifeq ($(TARGET_ARCH_X86),yes)
--- a/vidix/drivers/Makefile	Thu Oct 19 21:29:17 2006 +0000
+++ b/vidix/drivers/Makefile	Thu Oct 19 21:58:57 2006 +0000
@@ -6,7 +6,7 @@
 VIDIX_LIBS = -L../../libdha -ldha
 VIDIX_LIBS_M = $(VIDIX_LIBS) -lm
 VIDIX_LIBS_X = $(VIDIX_LIBS_M) $(X_LIB)
-VIDIX_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
+VIDIX_CFLAGS= -I. -I.. $(OPTFLAGS) -fPIC
 
 RAGE128_CFLAGS=$(VIDIX_CFLAGS) -DRAGE128
 MGA_CRTC2_CFLAGS=$(VIDIX_CFLAGS) -DCRTC2