Remove -march=native from src/binaryen/CMakeLists.txt
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 22 Mar 2018 23:44:06 +0000 (23:44 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 22 Mar 2018 23:44:06 +0000 (23:44 +0000)
src/binaryen/CMakeLists.txt

index fbd0bedb9109e9cfab4ab8289b0a4b83d766a6f1..6c75c8e007489b637cb49d0b55ac32261c36c314 100644 (file)
@@ -143,7 +143,7 @@ ELSE()
       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")
+      #ADD_COMPILE_FLAG("-march=native")
     endif ()
   endif ()
   ADD_COMPILE_FLAG("-Wall")