[MacPorts] #68345: librdkafka @2.2.0_0: building fails with Clang fails due to unused -stdlib flag
MacPorts
noreply at macports.org
Tue Oct 3 20:44:05 UTC 2023
#68345: librdkafka @2.2.0_0: building fails with Clang fails due to unused -stdlib
flag
-------------------------+------------------------
Reporter: zbaylin | Owner: alexeyt820
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: librdkafka |
-------------------------+------------------------
Comment (by cjones051073):
The warning is valid, as the stdlib option only relates to C++ code ,
where as above it is being passed to clang (not clang++) which is the C
compiler.
The bug is in the portfile, at the line you link above, as the option is
being incorrectly appended to the ldflags, whereas it should instead be
appended to the cxxflags.
--
Ticket URL: <https://trac.macports.org/ticket/68345#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list