Skip to content

Commit 58faf00

Browse files
authored
Merge pull request ceph#62073 from Matan-B/wip-matanb-arm64-gcc-build
cmake/modules/BuildISAL.cmake: set no-integrated-as on clang only Reviewed-by: Ronen Friedman <[email protected]>
2 parents 6b1bbaf + 56c37d7 commit 58faf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/BuildISAL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function(build_isal)
1717
# because it messes with the internal install paths of arrow's bundled deps
1818
set(NO_DESTDIR_COMMAND ${CMAKE_COMMAND} -E env --unset=DESTDIR)
1919

20-
if(HAVE_ARMV8_SIMD)
20+
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND HAVE_ARMV8_SIMD)
2121
list(APPEND configure_cmd CFLAGS=-no-integrated-as)
2222
endif()
2323

0 commit comments

Comments
 (0)