[MacPorts] #71812: micronucleus @2.5 doesn't use the right compiler and flags
MacPorts
noreply at macports.org
Sat Jan 11 04:04:38 UTC 2025
#71812: micronucleus @2.5 doesn't use the right compiler and flags
------------------------+--------------------------
Reporter: ryandesign | Owner: mdholling@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: micronucleus
------------------------+--------------------------
The micronucleus @2.5 port isn't [UsingTheRightCompiler using the right
compiler] or flags. From [https://build.macports.org/builders/ports-
14_x86_64-builder/builds/55332/steps/install-port/logs/stdio a recent
build log]:
> {{{
> gcc -I/opt/local/include -Ilibrary -O -g -D MAC_OS -c
library/micronucleus_lib.c
> }}}
Note the absence of the MacPorts standard `-Os` and `-arch …` CFLAGS in
this compile line.
> {{{
> gcc -I/opt/local/include -Ilibrary -O -g -D MAC_OS -o micronucleus
micronucleus.c micronucleus_lib.o littleWire_util.o
/opt/local/lib/libusb.a /opt/local/lib/libusb-1.0.a -framework
CoreFoundation -framework IOKit
> }}}
Note the absence of the MacPorts standard
`-Wl,-headerpad_max_install_names` and `-arch …` LDFLAGS in this link
line.
The makefile-1.0 portgroup can often help supply the right flags to the
build.
--
Ticket URL: <https://trac.macports.org/ticket/71812>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list