diff options
Diffstat (limited to 'community/binaryen/gcc-march-aarch64.patch')
-rw-r--r-- | community/binaryen/gcc-march-aarch64.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/binaryen/gcc-march-aarch64.patch b/community/binaryen/gcc-march-aarch64.patch new file mode 100644 index 0000000000..b7cec8ef45 --- /dev/null +++ b/community/binaryen/gcc-march-aarch64.patch @@ -0,0 +1,14 @@ +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") |