Skip to content

Commit

Permalink
ARM execinfo fixes (#598)
Browse files Browse the repository at this point in the history
* look for arm when looking for execinfo
  • Loading branch information
Justin Boswell authored Feb 21, 2020
1 parent 15e64e4 commit 5451686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/AwsFeatureTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ int main() {
__asm__ __volatile__(\"\":\"=r\"(foo):\"r\"(bar):\"memory\");
}" AWS_HAVE_GCC_INLINE_ASM)

if(NOT LEGACY_COMPILER_SUPPORT)
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>
int main() {
Expand Down

0 comments on commit 5451686

Please sign in to comment.