aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2020-06-25 03:29:04 +0000
committerMark Linimon <linimon@FreeBSD.org>2020-06-25 03:29:04 +0000
commitb8ff9041405bf2144ebcd0c63c831f1f34d211f1 (patch)
tree65d474c884b621c2662ef7231d06453c52955723
parentac0dafffde5549f1b097208c50d4db71fbcf246d (diff)
downloadports-b8ff9041405bf2144ebcd0c63c831f1f34d211f1.tar.gz
ports-b8ff9041405bf2144ebcd0c63c831f1f34d211f1.zip
Notes
-rw-r--r--math/ogdf/files/patch-cmake_compiler-specifics.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/ogdf/files/patch-cmake_compiler-specifics.cmake b/math/ogdf/files/patch-cmake_compiler-specifics.cmake
new file mode 100644
index 000000000000..6a9d75e7ade5
--- /dev/null
+++ b/math/ogdf/files/patch-cmake_compiler-specifics.cmake
@@ -0,0 +1,12 @@
+--- cmake/compiler-specifics.cmake.orig 2020-02-09 22:05:19 UTC
++++ cmake/compiler-specifics.cmake
+@@ -15,7 +15,8 @@ endif()
+ # use native arch (ie, activate things like SSE)
+ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
+ # cannot use add_definitions() here because it does not work with check-sse3.cmake
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
++ # 20200624 disable this for FreeBSD package building machines.
++ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
+ endif()
+
+ # set default warning flags for OGDF and tests