From: Vadim Zeitlin Date: Fri, 29 Jul 2005 18:21:32 +0000 (+0000) Subject: xlC needs -qunique under AIX only, at least it doesn't accept it at all under Mac... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4a4aafb24799c9618c4f58356ea53a635f44c0c8?ds=inline xlC needs -qunique under AIX only, at least it doesn't accept it at all under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index b88c06ef47..d144244195 100644 --- a/configure.in +++ b/configure.in @@ -1515,9 +1515,9 @@ dnl ------------------------------------------------------------------------ dnl Platform specific tests dnl ------------------------------------------------------------------------ -dnl xlC needs -qunique (at least on AIX) so that one source file can be +dnl xlC needs -qunique under AIX so that one source file can be dnl compiled to multiple object files and safely linked together. -if test "x$XLCXX" = "xyes"; then +if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then CXXFLAGS="$CXXFLAGS -qunique" fi