Skip to content

Commit

Permalink
Fixed cmake error during cross compile (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Boswell authored Mar 27, 2020
1 parent 6f0787f commit 8c7e4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AwsFeatureTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main() {
__asm__ __volatile__(\"\":\"=r\"(foo):\"r\"(bar):\"memory\");
}" AWS_HAVE_GCC_INLINE_ASM)

string(REGEX MATCH "^(aarch64|arm)" ARM_CPU ${CMAKE_SYSTEM_PROCESSOR})
string(REGEX MATCH "^(aarch64|arm)" ARM_CPU "${CMAKE_SYSTEM_PROCESSOR}")
if(NOT LEGACY_COMPILER_SUPPORT OR ARM_CPU)
check_c_source_compiles("
#include <execinfo.h>
Expand Down

0 comments on commit 8c7e4ba

Please sign in to comment.