diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-01-24 14:44:26 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-01-24 14:46:31 +0100 |
commit | 930ed25687b44c7e8ec34089b15daf7105dfbfcc (patch) | |
tree | 1d3892f0ad04899013eaeb0a223469531999886c /solenv | |
parent | 2854887bb4a50167aa23eca7e30fde7057044815 (diff) |
get rid of --noinhibit-exec linker flag
This option basically allows creation of binaries even if they are
broken and unusable in practice, which is definitely not wanted
(it e.g. allows "successfully" creating a binary that links the wrong
version of KDE libraries).
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/unxfbsd.mk | 4 | ||||
-rw-r--r-- | solenv/inc/unxgcc.mk | 4 | ||||
-rw-r--r-- | solenv/inc/unxhpgr.mk | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/solenv/inc/unxfbsd.mk b/solenv/inc/unxfbsd.mk index 4a22beaec256..9266d5d83e54 100644 --- a/solenv/inc/unxfbsd.mk +++ b/solenv/inc/unxfbsd.mk @@ -148,8 +148,8 @@ LINKFLAGSRUNPATH_NONE= LINKFLAGS=-Wl,-z,combreloc $(LINKFLAGSDEFS) # linker flags for linking applications -LINKFLAGSAPPGUI= -Wl,-export-dynamic -Wl,--noinhibit-exec -LINKFLAGSAPPCUI= -Wl,-export-dynamic -Wl,--noinhibit-exec +LINKFLAGSAPPGUI= -Wl,-export-dynamic +LINKFLAGSAPPCUI= -Wl,-export-dynamic # linker flags for linking shared libraries LINKFLAGSSHLGUI= -shared diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk index 4688b25936fd..c0900245a694 100644 --- a/solenv/inc/unxgcc.mk +++ b/solenv/inc/unxgcc.mk @@ -176,9 +176,9 @@ LINKFLAGS += -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-l .ENDIF # linker flags for linking applications -LINKFLAGSAPPGUI= -Wl,-export-dynamic -Wl,--noinhibit-exec \ +LINKFLAGSAPPGUI= -Wl,-export-dynamic \ -Wl,-rpath-link,$(LB):$(SOLARLIBDIR) -LINKFLAGSAPPCUI= -Wl,-export-dynamic -Wl,--noinhibit-exec \ +LINKFLAGSAPPCUI= -Wl,-export-dynamic \ -Wl,-rpath-link,$(LB):$(SOLARLIBDIR) # linker flags for linking shared libraries diff --git a/solenv/inc/unxhpgr.mk b/solenv/inc/unxhpgr.mk index 9ac0c7e3daf1..fa5c4a52a35a 100644 --- a/solenv/inc/unxhpgr.mk +++ b/solenv/inc/unxhpgr.mk @@ -79,9 +79,9 @@ DYNAMIC = -Bdynamic LINK=ld LINKFLAGS=-L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/threads -L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57 LINKFLAGSAPPGUI= /usr/lib/crt0.o -LINKFLAGSSHLGUI= -b -noinhibit-exec -Bsymbolic -G $(THREADLIB) +LINKFLAGSSHLGUI= -b -Bsymbolic -G $(THREADLIB) LINKFLAGSAPPCUI= /usr/lib/crt0.o -LINKFLAGSSHLCUI= -b -noinhibit-exec -warn-once -Bsymbolic -G +LINKFLAGSSHLCUI= -b -warn-once -Bsymbolic -G LINKFLAGSTACK= APPLINKSTATIC=-Bstatic APPLINKSHARED=-Bsymbolic |