diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index a298eed628f..68523cfc77a 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -71,6 +71,8 @@ do_configure() { # Disable SSP export CFLAGS="${CFLAGS/-fstack-protector-strong/}" + # Disable FORTIFY_SOURCE + export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=?/}" SHELL=/bin/bash ../configure ${configure_args} \ --bindir=/usr/bin --sbindir=/usr/sbin \