modify for HP-UX build, choose correct CFLAGS for gcc.

This commit is contained in:
kinichiro 2015-04-27 21:20:20 +09:00
parent b0565945e4
commit 97c910ecfd

View File

@ -42,7 +42,7 @@ case $host_os in
;; ;;
*hpux*) *hpux*)
HOST_OS=hpux; HOST_OS=hpux;
if [ $CC = "gcc" ]; then if test "`echo $CC | cut -d ' ' -f 1`" = "gcc" ; then
CFLAGS="$CFLAGS -mlp64" CFLAGS="$CFLAGS -mlp64"
else else
CFLAGS="-g -O2 +DD64 $USER_CFLAGS" CFLAGS="-g -O2 +DD64 $USER_CFLAGS"