summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:22:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:22:56 +0000
commit486305ac81d3cd1f5df27b198be097ee2d2e92a7 (patch)
tree79a8298a48bd0a062447a1019e59c7a364e691ab /benchmarks
parentAdd QT imageformats to resolve issues with rendering album covers (diff)
Support stage
Sorry for ricers but -O9 doesn't bring anything :), turn it into -O3
Notes
Notes: svn path=/head/; revision=338732
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/nqueens/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/benchmarks/nqueens/Makefile b/benchmarks/nqueens/Makefile
index 490d0be55bc3..290297e0429a 100644
--- a/benchmarks/nqueens/Makefile
+++ b/benchmarks/nqueens/Makefile
@@ -17,11 +17,10 @@ OPTIONS_DEFINE= MPI STATIC OPTIMIZED_CFLAGS
MPI_DESC= Build distributed MPI version
STATIC_DESC= Link resulting binaries statically
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-CFLAGS+= -O9 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+CFLAGS+= -O3 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
.endif
.if ${PORT_OPTIONS:MSTATIC}
CFLAGS+= -static
@@ -50,7 +49,7 @@ PLIST_FILES= ${PROGS:S/^/bin\//}
do-install:
.for p in ${PROGS}
- ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin/
.endfor
.include <bsd.port.mk>