author | Christian Hesse
<eworm@archlinux.org> 2023-09-05 18:52:09 UTC |
committer | Christian Hesse
<eworm@archlinux.org> 2023-09-05 18:52:09 UTC |
parent | 03d8c8466359e13888289e74f3ee39f591935a7f |
PKGBUILD | +4 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index d975610..77be213 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -88,6 +88,10 @@ build() { -DWITH_ZLIB=system ) + # this uses malloc_usable_size, which is incompatible with fortification level 3 + export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" + export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" + mkdir build cd build