diff options
author | Duraid Madina <duraid@octopus.com.au> | 2005-05-16 06:38:09 +0000 |
---|---|---|
committer | Duraid Madina <duraid@octopus.com.au> | 2005-05-16 06:38:09 +0000 |
commit | 60c9a3c1710647c64574fa2fcb3837a39e4f3d62 (patch) | |
tree | 7b3d5a026923bf86b06e095e7079e50f5c548af9 | |
parent | 5ea2ba8bae6bc411f869c418b68fe261f1e8822f (diff) | |
download | llvm-60c9a3c1710647c64574fa2fcb3837a39e4f3d62.zip llvm-60c9a3c1710647c64574fa2fcb3837a39e4f3d62.tar.gz llvm-60c9a3c1710647c64574fa2fcb3837a39e4f3d62.tar.bz2 |
hp-ux needs this to get through the System/Support libs
llvm-svn: 22078
-rw-r--r-- | llvm/Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 93313d6..c5c1904 100644 --- a/llvm/Makefile.rules +++ b/llvm/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 \ |