mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Make pgsql compile on FreeBSD-alpha.
Context diff this time. Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386. Compile with only -O on alpha for codegen safety. Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD. Fix a lot of bogus string formats for outputting pointers (cast to int and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now cast to 'unsigned long' and output with %lu/ Remove an unused variable. Alfred Perlstein
This commit is contained in:
@@ -1 +1,7 @@
|
||||
CFLAGS='-O2 -m486 -pipe'
|
||||
CFLAGS='-pipe'
|
||||
|
||||
case $host_cpu in
|
||||
alpha*) CFLAGS="$CFLAGS -O";;
|
||||
i386*) CFLAGS="$CFLAGS -O2";;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user