summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-02 04:51:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-02 04:51:17 +0000
commit98c2383ba5b51ebd0e79d0bab8a7dc5de47983c0 (patch)
tree5513f41b4bd97c6990082f2b9fb320ab4716422c /src/template
parentc3a05881de21438a29b6dc721ebd7d1e028a905a (diff)
downloadpostgresql-98c2383ba5b51ebd0e79d0bab8a7dc5de47983c0.tar.gz
Don't try to force use of -no-cpp-precomp on OS X. It's been five years
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.
Diffstat (limited to 'src/template')
-rw-r--r--src/template/darwin6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/template/darwin b/src/template/darwin
index b017530a87..7663a75101 100644
--- a/src/template/darwin
+++ b/src/template/darwin
@@ -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.12 2010/08/02 04:51:17 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,