mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Yet another linking flag fix for native ObjC exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24884 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
675377c760
commit
fb8cf336bf
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-03-17 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* configure.ac: Added -shared-libgcc when linking with ObjC
|
||||
exceptions (Suggestion from Andrew Pinski).
|
||||
* common.make (INTERNAL_LDFLAGS): Same change.
|
||||
* configure: Regenerated.
|
||||
|
||||
2007-03-16 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Implemented rebuilding Info-gnustep.plist when xxxInfo.plist is
|
||||
|
|
|
@ -518,7 +518,7 @@ CFLAGS =
|
|||
# use them, turn them on!
|
||||
ifeq ($(USE_OBJC_EXCEPTIONS), yes)
|
||||
OBJCFLAGS += -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS
|
||||
INTERNAL_LDFLAGS += -fexceptions
|
||||
INTERNAL_LDFLAGS += -shared-libgcc -fexceptions
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -4558,7 +4558,7 @@ echo "${ECHO_T}no: compiler isn't gcc" >&6
|
|||
CFLAGS_no_exceptions="$CFLAGS"
|
||||
LIBS_no_exceptions="$LIBS"
|
||||
CFLAGS="$CFLAGS -fexceptions -fobjc-exceptions"
|
||||
LIBS="$LIBS -fexceptions"
|
||||
LIBS="$LIBS -shared-libgcc -fexceptions"
|
||||
if test "$cross_compiling" = yes; then
|
||||
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||
See \`config.log' for more details." >&5
|
||||
|
|
|
@ -1056,7 +1056,7 @@ if test x"$USE_OBJC_EXCEPTIONS" = x"yes"; then
|
|||
CFLAGS_no_exceptions="$CFLAGS"
|
||||
LIBS_no_exceptions="$LIBS"
|
||||
CFLAGS="$CFLAGS -fexceptions -fobjc-exceptions"
|
||||
LIBS="$LIBS -fexceptions"
|
||||
LIBS="$LIBS -shared-libgcc -fexceptions"
|
||||
AC_RUN_IFELSE([[
|
||||
#include <stdlib.h>
|
||||
#include <objc/Object.h>
|
||||
|
|
Loading…
Reference in a new issue