svn commit: r490093 - in head/audio/fluidplug-lv2: . files
Mark Linimon
linimon at FreeBSD.org
Sat Jan 12 23:34:29 UTC 2019
Author: linimon
Date: Sat Jan 12 23:34:27 2019
New Revision: 490093
URL: https://svnweb.freebsd.org/changeset/ports/490093
Log:
GCC doesn't support -mtune=generic (at least not on powerpc64). Move
-mtune=generic to PORT_SIMD_FLAGS.
PR: 234368
Submitted by: Piotr Kubaj
Approved by: maintainer
Modified:
head/audio/fluidplug-lv2/Makefile
head/audio/fluidplug-lv2/files/patch-Makefile.mk
Modified: head/audio/fluidplug-lv2/Makefile
==============================================================================
--- head/audio/fluidplug-lv2/Makefile Sat Jan 12 23:34:15 2019 (r490092)
+++ head/audio/fluidplug-lv2/Makefile Sat Jan 12 23:34:27 2019 (r490093)
@@ -27,7 +27,7 @@ OPTIONS_DEFINE_i386= SSE
OPTIONS_DEFAULT_amd64= SSE
OPTIONS_DEFAULT_i386= SSE
-SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
+SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse"
post-patch:
@${REINPLACE_CMD} -e ' \
Modified: head/audio/fluidplug-lv2/files/patch-Makefile.mk
==============================================================================
--- head/audio/fluidplug-lv2/files/patch-Makefile.mk Sat Jan 12 23:34:15 2019 (r490092)
+++ head/audio/fluidplug-lv2/files/patch-Makefile.mk Sat Jan 12 23:34:27 2019 (r490093)
@@ -5,7 +5,7 @@
BASE_FLAGS = -Wall -Wextra -Wshadow -pipe
-BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse -fdata-sections -ffunction-sections
-+BASE_OPTS = -O2 -ffast-math -mtune=generic $(PORT_SIMD_FLAGS) -fdata-sections -ffunction-sections
++BASE_OPTS = -O2 -ffast-math $(PORT_SIMD_FLAGS) -fdata-sections -ffunction-sections
ifeq ($(MACOS),true)
# MacOS linker flags
More information about the svn-ports-head
mailing list