Skip to content

Commit

Permalink
Disable arch native for emscripten target
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Jun 14, 2024
1 parent 56acf5a commit cd77902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ macro(xvega_set_common_options target_name)
# PowerPC does not support -march
if (CMAKE_SYSTEM_PROCESSOR MATCHES "ppc|powerpc")
target_compile_options(${target_name} PUBLIC -mtune=native)
else ()
elseif (NOT EMSCRIPTEN)
target_compile_options(${target_name} PUBLIC -march=native)
endif ()
endif ()
Expand Down

0 comments on commit cd77902

Please sign in to comment.