Fix for bug 494107 . Fix HP-UX ia64/32 bits build. r=wtc
authorjulien.pierre.boogz%sun.com
Thu, 13 Aug 2009 01:40:43 +0000
changeset 9365 cee18bc6fc927f9280feee4b1bc14a6c41ee5b75
parent 9360 a96679b39865810da7b977df8e57210c009f1c06
child 9366 27e03dc08630164563e1692a5e0c0f2d7304d5d7
push idunknown
push userunknown
push dateunknown
reviewerswtc
bugs494107
Fix for bug 494107 . Fix HP-UX ia64/32 bits build. r=wtc
security/coreconf/HP-UX.mk
--- a/security/coreconf/HP-UX.mk
+++ b/security/coreconf/HP-UX.mk
@@ -79,15 +79,19 @@ LDFLAGS			= -z -Wl,+s
 MKSHLIB			= $(LD) $(DSO_LDOPTS) $(RPATH)
 ifdef MAPFILE
 MKSHLIB += -c $(MAPFILE)
 endif
 PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
          sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,+e ,' > $@
 
 DSO_LDOPTS		= -b +h $(notdir $@)
-ifeq ($(USE_64), 1)
-RPATH   = +b '$$ORIGIN'
+RPATH			= +b '$$ORIGIN'
+ifneq ($(OS_TEST),ia64)
+# pa-risc
+ifndef USE_64
+RPATH   =
+endif
 endif
 DSO_LDFLAGS		=
 
 # +Z generates position independent code for use in shared libraries.
 DSO_CFLAGS = +Z