[llvm-commits] CVS: llvm-test/External/SPEC/CINT2000/254.gap/Makefile
Chris Lattner
lattner at persephone.cs.uiuc.edu
Tue Mar 8 14:44:18 PST 2005
Changes in directory llvm-test/External/SPEC/CINT2000/254.gap:
Makefile updated: 1.6 -> 1.7
---
Log message:
apply magic to get this to build on darwin
---
Diffs of the changes: (+7 -1)
Makefile | 8 +++++++-
1 files changed, 7 insertions, 1 deletion
Index: llvm-test/External/SPEC/CINT2000/254.gap/Makefile
diff -u llvm-test/External/SPEC/CINT2000/254.gap/Makefile:1.6 llvm-test/External/SPEC/CINT2000/254.gap/Makefile:1.7
--- llvm-test/External/SPEC/CINT2000/254.gap/Makefile:1.6 Mon Sep 6 23:18:02 2004
+++ llvm-test/External/SPEC/CINT2000/254.gap/Makefile Tue Mar 8 16:43:50 2005
@@ -5,8 +5,14 @@
# We need to include unistd.h because something with Fedora Core 1 is broken,
# and we need the sysconf() macros.
-CPPFLAGS = -include unistd.h -DSYS_IS_USG -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_READ_PROTO
+CPPFLAGS = -include unistd.h -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_READ_PROTO
include ../../Makefile.spec2000
ifeq ($(ARCH),Sparc)
CPPFLAGS+= -DSPEC_CPU2000_LP64
+endif
+
+ifeq ($(OS),Darwin)
+CPPFLAGS += -DSYS_IS_BSD
+else
+CPPFLAGS += -DSYS_IS_USG
endif
More information about the llvm-commits
mailing list