]> granicus.if.org Git - postgresql/commitdiff
Don't try to force use of -no-cpp-precomp on OS X. It's been five years
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Aug 2010 04:51:25 +0000 (04:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Aug 2010 04:51:25 +0000 (04:51 +0000)
since Apple shipped a compiler that needed this switch, and there's
increasing interest in using other compilers that won't accept the switch
at all.  Better to let anybody who still needs the switch inject it via
CPPFLAGS.  Per gripe from Neil Conway.

src/template/darwin

index b017530a8715632f69d17e1566e19f796d0b06f7..6b52e0d73695562c8baaa483ce83893eaad8d48d 100644 (file)
@@ -1,8 +1,4 @@
-# $PostgreSQL: pgsql/src/template/darwin,v 1.11 2007/09/26 00:32:46 tgl Exp $
-
-# Apple's cpp-precomp seems a tad broken, so don't use it
-# (Note: on OS X before 10.2, you might need -traditional-cpp instead)
-CC="$CC -no-cpp-precomp"
+# $PostgreSQL: pgsql/src/template/darwin,v 1.11.16.1 2010/08/02 04:51:25 tgl Exp $
 
 # Select appropriate semaphore support.  Darwin 6.0 (Mac OS X 10.2) and up
 # support System V semaphores; before that we have to use POSIX semaphores,