mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Really fix the test whether the compiler uses the non-fragile ABI by
default. It should now work on all platforms with either gcc or clang. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fdf53a9743
commit
cb7c6b74d5
3 changed files with 1694 additions and 1792 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-07-27 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* configure.ac: Really fix the test whether the compiler uses the
|
||||
non-fragile ABI by default. It should now work on all platforms
|
||||
with either gcc or clang.
|
||||
* configure: Regenerated.
|
||||
|
||||
2013-07-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure.ac: Revert last change to get nonfragile abi detection
|
||||
|
|
|
@ -1383,12 +1383,15 @@ return __has_feature(objc_nonfragile_abi) ? 0 : 1;
|
|||
fi
|
||||
else
|
||||
if test x"$USE_NONFRAGILE_ABI" != x"no"; then
|
||||
saved_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS -x objective-c"
|
||||
AC_EGREP_CPP([^1$], [
|
||||
#ifndef __has_feature
|
||||
#define __has_feature(x) 0
|
||||
#endif
|
||||
__has_feature(objc_nonfragile_abi)
|
||||
], USE_NONFRAGILE_ABI=yes, USE_NONFRAGILE_ABI=no)
|
||||
CPPFLAGS=$saved_CPPFLAGS
|
||||
fi
|
||||
if test x"$USE_NONFRAGILE_ABI" = x"yes"; then
|
||||
AC_MSG_RESULT([yes (compiler default)])
|
||||
|
|
Loading…
Reference in a new issue