Darwin link changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11902 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-12-26 23:13:25 +00:00
parent 68402afed6
commit 9c998c8f02
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2001-12-26 Adam Fedor <fedor@gnu.org>
* target.make (darwin1): Use NeXT Compiler when using NeXT
runtime. Remove -undefined warning from DYLIB_EXTRA_FLAGS.
Tue Dec 25 08:57:37 2001 Nicola Pero <n.pero@mi.flashnet.it>
* which_lib.c (stripstr): Removed check for len == 0.

View file

@ -205,16 +205,16 @@ endif
#
ifeq ($(findstring darwin1, $(GNUSTEP_TARGET_OS)), darwin1)
ifeq ($(OBJC_RUNTIME), NeXT)
HAVE_BUNDLES = yes
HAVE_BUNDLES = yes
# Use the NeXT compiler
CC = cc -traditional-cpp
OBJC_COMPILER = NeXT
endif
HAVE_SHARED_LIBS = yes
SHARED_LIBEXT = .dylib
ifeq ($(FOUNDATION_LIB),nx)
# Use the NeXT compiler
CC = cc -traditional-cpp
OBJC_COMPILER = NeXT
ifneq ($(arch),)
ARCH_FLAGS = $(foreach a, $(arch), -arch $(a))
INTERNAL_OBJCFLAGS += $(ARCH_FLAGS)
@ -255,8 +255,7 @@ SHARED_LIB_LINK_CMD = \
else # OBJC_COMPILER=NeXT
DYLIB_EXTRA_FLAGS = -read_only_relocs warning -undefined warning
-fno-common
DYLIB_EXTRA_FLAGS = -read_only_relocs warning -fno-common
DYLIB_DEF_FRAMEWORKS += #-framework Foundation
DYLIB_DEF_LIBS = -lobjc