summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/platform_hpux_gcc.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/makeinclude/platform_hpux_gcc.GNU b/include/makeinclude/platform_hpux_gcc.GNU
index 4c184ecbed3..89ebd45bc47 100644
--- a/include/makeinclude/platform_hpux_gcc.GNU
+++ b/include/makeinclude/platform_hpux_gcc.GNU
@@ -12,7 +12,7 @@ CC = gcc
CXX = g++
CFLAGS += -w
CCFLAGS += $(CFLAGS) -fno-implicit-templates
-DCFLAGS += -g -DHPUX_VERS=$(HPUX_VERS)
+DCFLAGS += -g -DHPUX_VERS=$(HPUX_VERS) -D_REENTRANT
DLD = $(CXX)
LD = $(CXX)
OCFLAGS += -O2
@@ -23,6 +23,6 @@ LDFLAGS = -L$(ACE_ROOT)/ace -Wl,+s
LIBS += -lxti
SOFLAGS = $(CPPFLAGS) -shared -nostdlib
SOEXT = sl
-SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.$(SOEXT) $<
SHLIBBUILD = $(SOLINK.cc) -o $@ $(VSHOBJS1)
PRELIB = @true