define NO_GCC_PRAGMA in wx-config output on Darwin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-13 14:25:10 +00:00
parent 5da0803c15
commit 2c6f14e1a7
2 changed files with 13 additions and 4 deletions

View File

@@ -5661,10 +5661,16 @@ else
dnl pragmas:
CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
;;
*)
;;
esac
fi
dnl We have to output NO_GCC_PRAGMA with wx-config on Apple, too:
case "${host}" in
powerpc-*-darwin* )
dnl Some Apple's GCC version are broken and can't handle the
dnl pragmas:
CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
;;
esac
dnl for convenience, sort the samples in alphabetical order