Skip to content

Commit 60c9a3c

Browse files
hp-ux needs this to get through the System/Support libs
llvm-svn: 22078
1 parent 5ea2ba8 commit 60c9a3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/Makefile.rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ endif
343343

344344
CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused
345345

346+
ifeq ($(OS),HP-UX)
347+
CompileCommonOpts += -D_REENTRANT -D_HPUX_SOURCE
348+
endif
349+
346350
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
347351
CPP.Flags += -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
348352
-I$(PROJ_OBJ_ROOT)/include \

0 commit comments

Comments
 (0)