Bugzilla bug #54131: link executable programs with the -z and +s linker
authorwtc%netscape.com
Tue, 26 Sep 2000 04:49:09 +0000
changeset 698 7a13edc7e0f9ff0584b87e1785a6b9c4994ae4e6
parent 697 cc13143bdd021d6291ce2ddc3256827d088f71c9
child 700 dbf7dd594c0527d346d57c5b870fd06f2f2f68e1
push idunknown
push userunknown
push dateunknown
bugs54131
Bugzilla bug #54131: link executable programs with the -z and +s linker options.
security/coreconf/HP-UX.mk
--- a/security/coreconf/HP-UX.mk
+++ b/security/coreconf/HP-UX.mk
@@ -54,16 +54,18 @@ ifeq ($(DEFAULT_IMPL_STRATEGY),_PTH)
 		IMPL_STRATEGY = _PTH_USER
 	endif
 endif
 
 ifdef PTHREADS_USER
 	OS_CFLAGS	+= -D_POSIX_C_SOURCE=199506L
 endif
 
+LDFLAGS			= -z -Wl,+s
+
 MKSHLIB			= $(LD) $(DSO_LDOPTS)
 
 DSO_LDOPTS		= -b
 DSO_LDFLAGS		=
 
 # +Z generates position independent code for use in shared libraries.
 DSO_CFLAGS = +Z