[MacPorts] #62451: calc: is not using the right compiler; is using -march=native

MacPorts noreply at macports.org
Sun Mar 14 08:55:04 UTC 2021


#62451: calc: is not using the right compiler; is using -march=native
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  pmetzger
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  calc
------------------------+----------------------
 From this log:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/10875/steps/install-port/logs/stdio

 {{{
 clang -DCALC_SRC -DCUSTOM -Wall -arch arm64 -march=native   -fPIC
 longbits.c -c
 clang: error: the clang compiler does not support '-march=native'
 }}}

 we see that calc isn't UsingTheRightCompiler and we see that it is using
 `-march=native` which it should not do unless in a +native variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/62451>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list