Workaround for build problem on NetBSD 5.99.55.

This commit is contained in:
taca 2011-09-12 11:37:46 +00:00
parent 714e9d7c75
commit e832a8f18d
2 changed files with 15 additions and 5 deletions

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.10 2005/11/07 15:46:26 joerg Exp $
$NetBSD: distinfo,v 1.11 2011/09/12 11:37:46 taca Exp $
SHA1 (unixbench-4.1.0.tgz) = 0a43d9cf08869c0f81bde4647be6bcf76c064248
RMD160 (unixbench-4.1.0.tgz) = 182e8a35574df0cd7984662bf99d47a7e24e7e03
Size (unixbench-4.1.0.tgz) = 63075 bytes
SHA1 (patch-aa) = e99170aaa9100486ef4e62387a0795dd4372f157
SHA1 (patch-ab) = 9f4c714b1aa1e389a54465771a48d251fe5165cf
SHA1 (patch-ab) = 76c010c87925900f8d7046395bd9f42b885893f2
SHA1 (patch-ac) = ebfb09da84c96f8c6f48293c65a74dcf8a43cff5
SHA1 (patch-ad) = 3a1b788d9fa51fc168d59d8c87b1f476df2d5f41
SHA1 (patch-ae) = fbbce3deed7f0421034c1d57b66b1967ad8bddf1

View file

@ -1,6 +1,6 @@
$NetBSD: patch-ab,v 1.3 2003/09/19 18:18:12 wiz Exp $
$NetBSD: patch-ab,v 1.4 2011/09/12 11:37:46 taca Exp $
--- Makefile.orig Wed Jul 28 15:05:02 1999
--- Makefile.orig 1999-07-28 22:05:02.000000000 +0000
+++ Makefile
@@ -31,8 +31,8 @@
ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
@ -13,7 +13,17 @@ $NetBSD: patch-ab,v 1.3 2003/09/19 18:18:12 wiz Exp $
## For Linux 486/Pentium, GCC 2.7.x and 2.8.x
#OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math \
@@ -54,7 +54,7 @@
@@ -46,6 +46,9 @@ CC=gcc
## For Solaris 2, or general-purpose GCC 2.7.x
OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math -Wall
+## For Solaris 2, or general-purpose GCC 4.5
+OPTON = -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall
+
## Very generic
#OPTON = -O
@@ -54,7 +57,7 @@ OPTON = -O2 -fomit-frame-pointer -fforce
#CFLAGS = -DTIME -std1 -verbose -w0
## generic gcc CFLAGS. -DTIME must be included