mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Change HPUX loader flags to trap null pointer derefs
This commit is contained in:
@ -21,8 +21,9 @@ ifeq ($(HPUX_MAJOR), 09)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# On all HPUX versions, embed LIBDIR as the shared library search path
|
# On all HPUX versions, embed LIBDIR as the shared library search path
|
||||||
# so that the executables don't need SHLIB_PATH to be set.
|
# so that the executables don't need SHLIB_PATH to be set, and enable -z
|
||||||
LDFLAGS+= -Wl,+b -Wl,$(LIBDIR)
|
# to catch null pointer dereferences.
|
||||||
|
LDFLAGS+= -Wl,+b -Wl,$(LIBDIR) -Wl,-z
|
||||||
|
|
||||||
# Does anyone use this stuff?
|
# Does anyone use this stuff?
|
||||||
#ifdef ENFORCE_ALIGNMENT
|
#ifdef ENFORCE_ALIGNMENT
|
||||||
|
Reference in New Issue
Block a user