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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user