[llvm-commits] CVS: llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile
John Criswell
criswell at cs.uiuc.edu
Fri Jul 30 15:02:03 PDT 2004
Changes in directory llvm/test/Programs/External/SPEC/CINT2000/254.gap:
Makefile updated: 1.4 -> 1.5
---
Log message:
Force the inclusion of unistd.h to get the sysconf() definitions.
254.gap is using something that expands to a sysconf() call, but isn't
grabbing unistd.h to get value macros/enums.
Add another macro indicating that we define certain prototypes since they
are now included with unistd.h.
---
Diffs of the changes: (+4 -1)
Index: llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile
diff -u llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile:1.4 llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile:1.5
--- llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile:1.4 Wed Feb 25 18:01:20 2004
+++ llvm/test/Programs/External/SPEC/CINT2000/254.gap/Makefile Fri Jul 30 17:01:52 2004
@@ -2,7 +2,10 @@
RUN_OPTIONS = -l ./ -q -m 64M
STDOUT_FILENAME = $(RUN_TYPE).out
STDIN_FILENAME = $(RUN_TYPE).in
-CPPFLAGS = -DSYS_IS_USG -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO
+
+# 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
include ../../Makefile.spec2000
ifeq ($(ARCH),Sparc)
CPPFLAGS+= -DSPEC_CPU2000_LP64
More information about the llvm-commits
mailing list