summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2005-05-16 06:38:09 +0000
committerDuraid Madina <duraid@octopus.com.au>2005-05-16 06:38:09 +0000
commit0ad8fcf936f5db24c8c0de35379672d738f632da (patch)
tree3b69eff29f421c0a45ae2bcdd780dc31dda859e2
parent4c61d924d46ee6320424c84b2f3a9ba3bd74721c (diff)
downloadllvm-0ad8fcf936f5db24c8c0de35379672d738f632da.tar.gz
llvm-0ad8fcf936f5db24c8c0de35379672d738f632da.tar.bz2
llvm-0ad8fcf936f5db24c8c0de35379672d738f632da.tar.xz
hp-ux needs this to get through the System/Support libs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22078 91177308-0d34-0410-b5e6-96231b3b80d8
-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 \