Hi,
On 2025-09-05 11:58, Adrian Bunk wrote:
> +ifneq (,$(filter $(DEB_HOST_ARCH),amd64 ppc64el riscv64 s390x sparc64))
> + MOLD=-DCMAKE_CXX_FLAGS="-fuse-ld=mold"
> +endif
This unsets all CXXFLAGS!
One could keep the flags with -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fuse-ld=mold",
but it seems cleaner to just set the following, without passing
-DCMAKE_CXX_FLAGS at all.
DEB_CXXFLAGS_MAINT_APPEND='-fuse-ld=mold'
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers