summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-aq
blob: f6565d5eca3f010ecad6cf24a69696ac09af14b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aq,v 1.5 2012/02/28 15:49:56 hans Exp $

- fix parallel build
- solaris runs not only on sparc

--- src/Makefile.orig	2011-09-12 10:59:10.000000000 +0000
+++ src/Makefile
@@ -121,7 +121,7 @@ bsdi:
 	@$(MAKE) LDLIBS="-lrpc" binaries
 
 solaris:
-	@$(MAKE) CC=gcc LDLIBS="-lnsl -lsocket -lcpc" SYS5=-DSYS5 CFLAGS="-Wa,-xarch=v8plusa $(CFLAGS_SPARC)" CPPFLAGS="-Wa,-xarch=v8plusa" binaries 
+	@$(MAKE) CC=gcc LDLIBS="-lnsl -lsocket -lcpc" SYS5=-DSYS5 CFLAGS="$(CFLAGS_SPARC)" binaries 
 
 # HPUX needs gcc; their C compiler screws up mhz.c.
 hpux:
@@ -170,7 +170,7 @@ EXES=	$(BINDIR)/bw_bzero $(BINDIR)/bw_fi
 	$(BINDIR)/mhz $(BINDIR)/mhz-counter
 #	$(BINDIR)/lmdd $(BINDIR)/lat_pagefault
 
-binaries: setupdirs $(EXES)
+binaries: setupdirs .WAIT $(EXES)
 
 clean:
 	@echo rm -rf ../bin/$(OS)-$(ARCH)*