#31834: sbcl: cc1: error: unrecognized command line option "-arch" --------------------------------+------------------------------------------- Reporter: jrjsmrtn@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sbcl --------------------------------+------------------------------------------- Comment(by jonathan.braud@…): Replying to [comment:1 ryandesign@…]:
I had been working on a fix to #29832 that included changes for using the right compiler... I'll see if I can dust that off and finish it.
I'm having the same problem (my `gcc` is `/opt/local/bin/gcc`), so I tracked down the problem. I see the portfile exports `CC`, but this is not enough because `tools-for-build/Makefile` includes `src/runtime/Config`, which defines `CC = gcc`. So I attached a patch that removes that line. I don't know how to integrate it into the tarball. Should I contact the owner directly or is it enough that they are Cc-ed? -- Ticket URL: <https://trac.macports.org/ticket/31834#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS