mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Latest version of gcc from Apple does not work well with -traditional-cpp
(it rejects some system header files...). Use -no-cpp-precomp instead. I think it is okay to change this unconditionally, but if we hear complaints from people still using very old compilers on Darwin, we could put in a test to see which switch the compiler likes.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
# -traditional-cpp means "don't use apple's cpp-precomp" on darwin
|
# Apple's cpp-precomp seems a tad broken, so don't use it
|
||||||
# this should change to -no-cpp-precomp when that flag is implemented
|
# (Note: on OS X before 10.2, you might need -traditional-cpp instead)
|
||||||
CC="$CC -traditional-cpp"
|
CC="$CC -no-cpp-precomp"
|
||||||
|
|
||||||
# Select appropriate semaphore support
|
# Select appropriate semaphore support
|
||||||
USE_NAMED_POSIX_SEMAPHORES=1
|
USE_NAMED_POSIX_SEMAPHORES=1
|
||||||
|
Reference in New Issue
Block a user