We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb7096 commit 502769dCopy full SHA for 502769d
src/makefiles/Makefile.hpux
@@ -21,8 +21,9 @@ ifeq ($(HPUX_MAJOR), 09)
21
endif
22
23
# On all HPUX versions, embed LIBDIR as the shared library search path
24
-# so that the executables don't need SHLIB_PATH to be set.
25
-LDFLAGS+= -Wl,+b -Wl,$(LIBDIR)
+# so that the executables don't need SHLIB_PATH to be set, and enable -z
+# to catch null pointer dereferences.
26
+LDFLAGS+= -Wl,+b -Wl,$(LIBDIR) -Wl,-z
27
28
# Does anyone use this stuff?
29
#ifdef ENFORCE_ALIGNMENT
0 commit comments