1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/binaryen/gcc-march-aarch64.patch
2019-01-08 12:47:30 +00:00

14 lines
491 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d9e5721..9497124 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,9 +141,6 @@ ELSE()
# wasm doesn't allow for x87 floating point math
ADD_COMPILE_FLAG("-msse2")
ADD_COMPILE_FLAG("-mfpmath=sse")
- elseif(TARGET_ARCH STREQUAL "ARM")
- # stub for ARM-specific instructions. GCC6 adds NEON with the below flags
- ADD_COMPILE_FLAG("-march=native")
endif ()
endif ()
ADD_COMPILE_FLAG("-Wall")