[MacPorts] #60428: cfm isn't using the right compiler or flags

MacPorts noreply at macports.org
Sun May 3 22:04:51 UTC 2020


#60428: cfm isn't using the right compiler or flags
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  WillEccles
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  cfm
------------------------+------------------------
 cfm isn't UsingTheRightCompiler or -arch flags.

 See for example
 [https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/22828/steps
 /install-port/logs/stdio this build log] which shows

 {{{
 cc -O3 -std=c11 -Wall -W -pedantic -D_XOPEN_SOURCE=700 cfm.c -o cfm
 }}}

 Note the use of `cc` instead of the compiler MacPorts asked for; the
 absence of `-arch` flags; and the use of `-O3` instead of the optimization
 flags MacPorts asked for.

 The new makefile 1.0 portgroup may help you fix these issues easily. You
 may need to read the portgroup's source to determine how to use it.

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


More information about the macports-tickets mailing list