mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
GCC-based ones. This will unbreak the build on aarch64. Approved by: portmgr (tier-2 blanket)
15 lines
639 B
Text
15 lines
639 B
Text
--- 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)
|