[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile read.c

Brian Gaeke gaeke at cs.uiuc.edu
Tue Sep 28 10:24:53 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/MallocBench/make:

Makefile updated: 1.3 -> 1.4
read.c updated: 1.4 -> 1.5
---
Log message:

Get this benchmark closer to compiling on Solaris.


---
Diffs of the changes:  (+2 -2)

Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile:1.3 llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile:1.4
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile:1.3	Wed Sep  1 09:33:24 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/Makefile	Tue Sep 28 12:24:36 2004
@@ -1,6 +1,6 @@
 LEVEL = ../../../..
 PROG = make
-CPPFLAGS += -DHAVE_SIGLIST -DNO_LDAV -DNOMEMOPT
+CPPFLAGS += -DHAVE_SIGLIST -DNO_LDAV -DNOMEMOPT -DPOSIX
 Source=commands.c job.c dir.c file.c load.c misc.c main.c read.c \
        remake.c remote.c rule.c implicit.c default.c variable.c expand.c \
        function.c vpath.c version.c arscan.c ar.c


Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.5
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.4	Tue Jul 20 13:24:33 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c	Tue Sep 28 12:24:36 2004
@@ -23,7 +23,7 @@
 
 /* This is POSIX.2, but most systems using -DPOSIX probably don't have it.  */
 #if defined(__GNU_LIBRARY__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
-    defined(__APPLE__)
+    defined(__APPLE__) || (defined(__sun__) && defined(__svr4__))
 #include <glob.h>
 #else
 #include "glob/glob.h"






More information about the llvm-commits mailing list