Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 23:34:28 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490093 - in head/audio/fluidplug-lv2: . files
Message-ID:  <201901122334.x0CNYSpX049902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901122334.x0CNYSpX049902>