1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Support stage

Sorry for ricers but -O9 doesn't bring anything :), turn it into -O3
This commit is contained in:
Baptiste Daroussin 2014-01-05 01:22:56 +00:00
parent e575db708b
commit 486305ac81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338732

View File

@ -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>