[MPlayer-cvslog] r20404 - in trunk: configure libdha/Makefile vidix/drivers/Makefile

diego subversion at mplayerhq.hu
Mon Oct 23 12:02:22 CEST 2006


Author: diego
Date: Mon Oct 23 12:02:21 2006
New Revision: 20404

Modified:
   trunk/configure
   trunk/libdha/Makefile
   trunk/vidix/drivers/Makefile

Log:
Remove -fno-PIC check from configure and put -fPIC back at the beginning
of CFLAGS in libdha/ and vidix/drivers/.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Oct 23 12:02:21 2006
@@ -7225,21 +7225,6 @@
   fi
 fi
 
-echocheck "compiler support for -fno-PIC"
-if x86; then
-cat > $TMPC <<EOF
-int main(void) { return 0; }
-EOF
-if cc_check -fno-PIC ; then
-  CFLAGS="-fno-PIC $CFLAGS"
-  echores "yes"
-else
-  echores "no"
-fi
-else
-  echores "only used for x86"
-fi
-
 echocheck "compiler support for noexecstack"
 cat > $TMPC <<EOF
 int main(void) { return 0; }

Modified: trunk/libdha/Makefile
==============================================================================
--- trunk/libdha/Makefile	(original)
+++ trunk/libdha/Makefile	Mon Oct 23 12:02:21 2006
@@ -29,7 +29,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = -I. -I.. $(OPTFLAGS) -fPIC
+CFLAGS  = -fPIC -I. -I.. $(OPTFLAGS)
 
 ifeq ($(TARGET_OS),OpenBSD)
 ifeq ($(TARGET_ARCH_X86),yes)

Modified: trunk/vidix/drivers/Makefile
==============================================================================
--- trunk/vidix/drivers/Makefile	(original)
+++ trunk/vidix/drivers/Makefile	Mon Oct 23 12:02:21 2006
@@ -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= -I. -I.. $(OPTFLAGS) -fPIC
+VIDIX_CFLAGS = -fPIC -I. -I.. $(OPTFLAGS)
 
 RAGE128_CFLAGS=$(VIDIX_CFLAGS) -DRAGE128
 MGA_CRTC2_CFLAGS=$(VIDIX_CFLAGS) -DCRTC2



More information about the MPlayer-cvslog mailing list