From: Václav Slavík Date: Wed, 16 Jul 2003 10:34:42 +0000 (+0000) Subject: -f-no-pcc-struct-return was only needed by ancient versions of gcc and it affected... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0493436fc173a4566a1a8b8dc41fa45e880ea915 -f-no-pcc-struct-return was only needed by ancient versions of gcc and it affected binary compatibility -> removed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index f488006aa4..79c8085e2a 100755 --- a/configure +++ b/configure @@ -29613,12 +29613,6 @@ if test "$GCC" = "yes" ; then if test "$wxUSE_PERMISSIVE" = "yes" ; then CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive" fi - if test "$USE_WIN32" = 1 ; then - # I'm not even really sure what this was ever added to solve, - # but someone added it for mingw native builds, so I guess - # they had a reason, right?? - CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return" - fi case "${host}" in powerpc*-*-aix* ) diff --git a/configure.in b/configure.in index 59ca6bd8d7..7e9963b159 100644 --- a/configure.in +++ b/configure.in @@ -3994,12 +3994,6 @@ if test "$GCC" = "yes" ; then if test "$wxUSE_PERMISSIVE" = "yes" ; then CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive" fi - if test "$USE_WIN32" = 1 ; then - # I'm not even really sure what this was ever added to solve, - # but someone added it for mingw native builds, so I guess - # they had a reason, right?? - CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return" - fi dnl Ian Brown reports that versions of gcc before dnl 3.0 overflow the table of contents on rs6000 as they create an entry