1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Fix CFLAGS selection to actually work. Add test to detect whether gcc's

option -fno-strict-aliasing is available.
This commit is contained in:
Peter Eisentraut
2003-10-25 15:32:11 +00:00
parent 6db0a6b035
commit 378f59904a
12 changed files with 144 additions and 53 deletions

View File

@ -4,7 +4,7 @@ else
# the -Kno_host is temporary for a bug in the compiler. See -hackers
# discussion on 7-8/Aug/2003.
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
CFLAGS="$CFLAGS -O -Kinline,no_host"
CFLAGS="-O -Kinline,no_host"
THREAD_CPPFLAGS="-K pthread"
fi