Use CFLAGS for testcases on AIX
On AIX, one can compile applications either in 32bit or 64bit. With GCC, this is done by using: -maix64 or -maix32 (default). Thus, when building & testing Swig in 64bit, the -maix64 option must be passed to all calls to gcc. Fixes #1923
This commit is contained in:
parent
f104c4411f
commit
3e42fec457
1 changed files with 1 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ case $host in
|
||||||
else PLATCFLAGS=
|
else PLATCFLAGS=
|
||||||
# else PLATCFLAGS="-errtags=yes" # Need more work as C examples use ld for linking
|
# else PLATCFLAGS="-errtags=yes" # Need more work as C examples use ld for linking
|
||||||
fi;;
|
fi;;
|
||||||
|
*-*-aix*) PLATCFLAGS="$CFLAGS";;
|
||||||
*) PLATCFLAGS=
|
*) PLATCFLAGS=
|
||||||
esac
|
esac
|
||||||
AC_MSG_RESULT($PLATCFLAGS)
|
AC_MSG_RESULT($PLATCFLAGS)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue