Opened 4 years ago

Last modified 4 years ago

#40709 new defect

"-fgnu89-inline" should not be used when building with clang

Reported by: Serge3leo (Serguei E. Leontiev) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Schmidt)
Port: flac

Description

This flag causes build error on Xcode 5.0.1 & OS X 10.9 GM seeds

Attachments (3)

main.log (182.4 KB) - added by Serge3leo (Serguei E. Leontiev) 4 years ago.
autoconf-not-gnu89-131009.patch (408 bytes) - added by Serge3leo (Serguei E. Leontiev) 4 years ago.
Workaround patch
autoconf-not-gnu89-131010.patch (377 bytes) - added by Serge3leo (Serguei E. Leontiev) 4 years ago.
Fix workaround patch, because Xcode emulates /usr/bin/gcc with clang

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by Serge3leo (Serguei E. Leontiev)

Changed 4 years ago by Serge3leo (Serguei E. Leontiev)

Workaround patch

comment:1 Changed 4 years ago by Serge3leo (Serguei E. Leontiev)

Workaround: port edit flac and add lines:

pre-configure {
        system -W ${worksrcpath} "patch -p0 < /<path to workaround patch>/autoconf-not-gnu89-131009.patch"
}

comment:2 follow-up: Changed 4 years ago by ryandesign (Ryan Schmidt)

Could you please refer me to the upstream bug report for this issue? If there isn't one yet, could you please file one?

comment:3 in reply to: ↑ 2 Changed 4 years ago by Serge3leo (Serguei E. Leontiev)

Replying to ryandesign@…:

Could you please refer me to the upstream bug report for this issue? If there isn't one yet, could you please file one?

Bug #405

Changed 4 years ago by Serge3leo (Serguei E. Leontiev)

Fix workaround patch, because Xcode emulates /usr/bin/gcc with clang

Note: See TracTickets for help on using tickets.