mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Force static link where requested
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@6424 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
518c58a878
commit
1254aeca7b
2 changed files with 26 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-04-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* target.make: If 'shared=no' is specified, link with '-static' to
|
||||
force static link.
|
||||
|
||||
2000-03-27 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* documentation.make: Correct cp typo.
|
||||
|
|
21
target.make
21
target.make
|
@ -295,6 +295,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_CFLAGS += -fPIC
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end Linux ELF
|
||||
|
@ -322,6 +325,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_CFLAGS += -fPIC
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end FreeBSD A.out
|
||||
|
@ -351,6 +357,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_CFLAGS += -fPIC
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end FreeBSD
|
||||
|
@ -383,6 +392,9 @@ BUNDLE_LD = $(CC)
|
|||
#BUNDLE_CFLAGS +=
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
#ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end NetBSD
|
||||
|
@ -412,6 +424,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_CFLAGS += -fPIC
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end NetBSD
|
||||
|
@ -444,6 +459,9 @@ BUNDLE_LD = $(CC)
|
|||
#BUNDLE_CFLAGS +=
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
#ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# end OpenBSD 2.x
|
||||
|
@ -473,6 +491,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_CFLAGS += -fPIC
|
||||
BUNDLE_LDFLAGS += -shared
|
||||
ADDITIONAL_LDFLAGS += -rdynamic
|
||||
ifeq ($(shared), no)
|
||||
ADDITIONAL_LDFLAGS += -static
|
||||
endif
|
||||
# Newer gcc's don't define this in Objective-C programs:
|
||||
AUXILIARY_CPPFLAGS += -D__LANGUAGES_C__
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue