[arch-dev-public] RFC: Dropping -DCMAKE_BUILD_TYPE from packages using cmake
arojas at archlinux.org
Sun Mar 11 21:24:10 UTC 2018
El domingo, 11 de marzo de 2018 21:58:16 (CET) Eli Schwartz via arch-dev-public escribió:
> I know repository PKGBUILDs are typically built in a clean chroot, so
> cached builds make no difference there, but then neither do unquoted
> srcdir/pkgdir. It is still not helpful to people who e.g. check out a
> PKGBUILD from svntogit and rebuild it locally for any of a number of
> reasons to have unpredictable behavior due to assumptions about always
> building in a clean chroot. So I think maybe we should still (or start?)
> specifying this.
You don't need to build in a clean chroot to prevent this from happening, you just need to make sure you clean up your build dir before rebuilding after having changed the build flags, which IMO is a reasonable assumption to make.
More information about the arch-dev-public