kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / osquery
Commits: c849d6fd by kpcyrd at 2023-09-29T11:51:25+02:00 do not use fortification level 3 - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -38,6 +38,10 @@ prepare() { build() { cd osquery + # /usr/bin/osqueryd 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}" + CC=clang CXX=clang++ cmake \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DOSQUERY_VERSION=$pkgver \ -G Ninja -S . -B build View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/osquery/-/commit/c849d6fd0a742f18f69669b53446e24dcea59a57 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/osquery/-/commit/c849d6fd0a742f18f69669b53446e24dcea59a57 You're receiving this email because of your account on gitlab.archlinux.org.