1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Chase down another occurrence of -sse flags.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-03-30 17:25:24 +00:00
parent 50fa2efe4b
commit a5499f23c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497292

View File

@ -40,6 +40,9 @@ post-patch:
#@${REINPLACE_CMD} -e 's|#include "../../lib/zita-convolver-.*/zita-convolver.h"|#include <zita-convolver.h>|' ${WRKSRC}/plugins/Zam*/convolution.*pp
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh
.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
${REINPLACE_CMD} -e '/-mfpmath=sse/d' \
-e 's/-mtune=generic -msse -msse2//' \
${WRKSRC}/Makefile.mk ${WRKSRC}/Makefile.mk
${REINPLACE_CMD} -e '/-mfpmath=sse/d' \
-e 's/-mtune=generic -msse -msse2//' \
${WRKSRC}/Makefile.mk ${WRKSRC}/dpf/dgl/Makefile.mk