summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2013-07-17 12:45:19 +0000
committergdt <gdt@pkgsrc.org>2013-07-17 12:45:19 +0000
commitc7314b17d508f2090d0455a3cd80c9b78a4d3530 (patch)
treea78944c1684bd2e173b3bf04b7fd13c45c1e1e9c /benchmarks
parent460c7be40b57a3af02390ee9184dd4be103d274b (diff)
downloadpkgsrc-c7314b17d508f2090d0455a3cd80c9b78a4d3530.tar.gz
Drop "-ffloat-store" from CFLAGS.
The point of paranoia is to assess a compiler/machine environment. Therefore, this package should be built with the default CFLAGS, and not add options to try to get the tests to pass. This will cause errors to be reported on i386. Take MAINTAINERSHIP.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/paranoia/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/benchmarks/paranoia/Makefile b/benchmarks/paranoia/Makefile
index d19506f0126..0b453697a8b 100644
--- a/benchmarks/paranoia/Makefile
+++ b/benchmarks/paranoia/Makefile
@@ -1,12 +1,18 @@
-# $NetBSD: Makefile,v 1.20 2012/09/11 22:37:14 asau Exp $
+# $NetBSD: Makefile,v 1.21 2013/07/17 12:45:19 gdt Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
+PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_NETLIB:=paranoia/}
EXTRACT_SUFX= .c
-MAINTAINER= pkgsrc-users@NetBSD.org
+# Not really the HOMEPAGE:
+# HOMEPAGE= http://people.sc.fsu.edu/~jburkardt/c_src/paranoia/paranoia.html
+# An alteranative MASTER_SITE:
+# http://people.sc.fsu.edu/~jburkardt/c_src/paranoia/paranoia.c
+
+MAINTAINER= gdt@NetBSD.org
COMMENT= Highly paranoid test of IEEE 754 conformance
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -15,8 +21,12 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
+# The use of -ffloat-store in CFLAGS is controversial. The point of
+# the program is to test the compiler/machine environment, and
+# therefore this Makefile should not set non-default flags.
+
do-build:
- (cd ${WRKSRC} ; ${CC} ${CFLAGS} -ffloat-store -o paranoia paranoia.c -lm)
+ (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o paranoia paranoia.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${DESTDIR}${PREFIX}/bin