svn commit: r517174 - in head/devel/xeus: . files
Mark Linimon
linimon at FreeBSD.org
Sun Nov 10 04:59:35 UTC 2019
Author: linimon
Date: Sun Nov 10 04:59:34 2019
New Revision: 517174
URL: https://svnweb.freebsd.org/changeset/ports/517174
Log:
Remove the -mtune=generic/-march=native fiddling on all archs, not just
GCC-based ones.
This will unbreak the build on aarch64.
Approved by: portmgr (tier-2 blanket)
Added:
head/devel/xeus/files/patch-CMakeLists.txt
- copied unchanged from r517173, head/devel/xeus/files/extra-patch-CMakeLists.txt
Deleted:
head/devel/xeus/files/extra-patch-CMakeLists.txt
Modified:
head/devel/xeus/Makefile
Modified: head/devel/xeus/Makefile
==============================================================================
--- head/devel/xeus/Makefile Sun Nov 10 04:50:50 2019 (r517173)
+++ head/devel/xeus/Makefile Sun Nov 10 04:59:34 2019 (r517174)
@@ -24,10 +24,4 @@ GH_ACCOUNT= QuantStack
CMAKE_OFF= BUILD_STATIC_LIBS
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Copied: head/devel/xeus/files/patch-CMakeLists.txt (from r517173, head/devel/xeus/files/extra-patch-CMakeLists.txt)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/xeus/files/patch-CMakeLists.txt Sun Nov 10 04:59:34 2019 (r517174, copy of r517173, head/devel/xeus/files/extra-patch-CMakeLists.txt)
@@ -0,0 +1,15 @@
+--- CMakeLists.txt.orig 2019-05-24 14:55:26 UTC
++++ CMakeLists.txt
+@@ -212,12 +212,6 @@ macro(xeus_create_target target_name lin
+
+ target_compile_options(${target_name} PUBLIC -Wunused-parameter -Wextra -Wreorder)
+
+- if (DISABLE_ARCH_NATIVE)
+- target_compile_options(${target_name} PUBLIC -mtune=generic)
+- else ()
+- target_compile_options(${target_name} PUBLIC -march=native)
+- endif ()
+-
+ # Enable link time optimization and set the default symbol
+ # visibility to hidden (very important to obtain small binaries)
+ if (NOT ${U_CMAKE_BUILD_TYPE} MATCHES DEBUG)
More information about the svn-ports-all
mailing list