Cloudy & Associates

Skip to content
  • Chatzikos, Marios's avatar
    Update capabilities.pl for Apple M1 chip · 06653047
    Chatzikos, Marios authored
    Compilers for the M1 produce position-independent code by default.
    Issuing '-fno-pie' on the command line emits an innocuous warning.
    
    The present implementation checks on the compiler's capabilities only if
    the chip is not arm64.
    
    Clang++ version is:
    
       $  clang++ --version
       Apple clang version 13.0.0 (clang-1300.0.27.3)
       Target: arm64-apple-darwin21.5.0
    06653047