[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057138: /usr/bin/curl-config: not multiarch co-installable due to architecture-specific CFLAGS



Package: libcurl4-gnutls-dev
Version: 8.4.0-2
Severity: normal
File: /usr/bin/curl-config
X-Debbugs-Cc: debian-cross@lists.debian.org

At the time of writing, /usr/bin/curl-config is not multiarch co-installable
on at least amd64 and arm64: the part that implements --configure includes
the build-time CFLAGS, which have -fcf-protection on amd64, but instead
have -mbranch-protection=standard on arm64.

Would it be possible to filter out the CFLAGS from curl-config, either
deleting them completely, or replacing them with literal string
`dpkg-buildflags --get CFLAGS` as was already done with some dpkg-architecture
calls?

Or if that's not possible, could certain CFLAGS that are known to be
architecture-specific, like -fcf-protection and -mbranch-protection=standard,
be filtered out?

Thanks,
    smcv


Reply to: