aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 93313d6537..c5c19049b1 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -343,6 +343,10 @@ endif
CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused
+ifeq ($(OS),HP-UX)
+ CompileCommonOpts += -D_REENTRANT -D_HPUX_SOURCE
+endif
+
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
CPP.Flags += -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
-I$(PROJ_OBJ_ROOT)/include \