kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / deno


Commits:
0c041ace by kpcyrd at 2023-09-29T10:51:11+02:00
do not use fortification level 3

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -17,6 +17,11 @@ sha512sums=('SKIP')
 
 build() {
   cd $pkgname
+
+  # 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}"
+
   cargo build --release
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deno/-/commit/0c041ace0ef90464ae8be84a43f825dbde78f131

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deno/-/commit/0c041ace0ef90464ae8be84a43f825dbde78f131
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to