From 909c9b79291e3df0799bb72962f6b53c1be1367f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 11 Mar 2015 13:05:46 +0100 Subject: [PATCH] glibc: disable _FORTIFY_SOURCE. --- srcpkgs/glibc/template | 2 ++ 1 file changed, 2 insertions(+) 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 \