Bill Allombert on Tue, 13 Dec 2005 15:20:17 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

removing -no-cpp-precomp flag ?


Hello PARI-dev

I would like to propose the patch below that remove the -no-cpp-precomp
flag on Darwin.

This flag does not seem necessary and is not reckognized by non-Apple
gcc build.

Is this flag required by some flavours of Mac OS X ?

Cheers,
Bill

Index: config/get_cc
===================================================================
RCS file: /home/cvs/pari/config/get_cc,v
retrieving revision 1.31
diff -u -r1.31 get_cc
--- config/get_cc	21 Nov 2005 10:59:18 -0000	1.31
+++ config/get_cc	13 Dec 2005 14:01:23 -0000
@@ -130,7 +130,6 @@
   case "$osname" in
     os2)      cflags="$cflags -Zmt -Zsysv-signals";;
     nextstep) cflags="$cflags -traditional-cpp";;
-    darwin)   cflags="$cflags -no-cpp-precomp";;
   esac
 
   # omit-frame-pointer incompatible with -pg
@@ -176,7 +175,6 @@
 # Which C PreProcessor ?
 case "$osname" in
   nextstep) cppfl="-traditional-cpp" ;;
-  darwin) cppfl="-no-cpp-precomp";;
   freebsd)
     if test "$PORTOBJFORMAT" = "elf"; then
       cppfl="-DUSE_ELF"