aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-02-27 09:47:58 +0800
committerlinimon <linimon@FreeBSD.org>2010-02-27 09:47:58 +0800
commit163a211ffcfd27de4c66314d745a58774d1e8fef (patch)
tree0ba36a7463f0fa41c75cca17eb418dabbb205357
parent6e6697459ae25ee539df0c540b5814231666830b (diff)
downloadfreebsd-ports-gnome-163a211ffcfd27de4c66314d745a58774d1e8fef.tar.gz
freebsd-ports-gnome-163a211ffcfd27de4c66314d745a58774d1e8fef.tar.zst
freebsd-ports-gnome-163a211ffcfd27de4c66314d745a58774d1e8fef.zip
Attempt to remove i386/amd64-specific optimizations to see if this
will unbreak it on sparc64. Hat: portmgr Feature safe: yes
-rw-r--r--graphics/rawtherapee/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
index eaee76baf6e3..a4568c40b0d0 100644
--- a/graphics/rawtherapee/Makefile
+++ b/graphics/rawtherapee/Makefile
@@ -40,10 +40,12 @@ OPTIONS= OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "i386"
.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math -fexpensive-optimizations \
-funroll-loops -msse
.endif
+.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/rtengine/librtengine.so ${PREFIX}/lib