From: Mike Frysinger Date: Sun, 26 Feb 2012 21:00:26 +0000 (-0500) Subject: sandbox: disable fortification X-Git-Tag: v2025.01-rc5-pxa1908~17674^2~253^2~4 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=20186a1cbff3fd87954627538ce712a162c22351;p=u-boot.git sandbox: disable fortification Since we provide all our own library calls, the fortification from glibc just gets in our way (which some distros enable by default). Acked-by: Simon Glass Signed-off-by: Mike Frysinger --- diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 2ec1bb772b..02ce4a4410 100644 --- a/arch/sandbox/config.mk +++ b/arch/sandbox/config.mk @@ -17,5 +17,5 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA -PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ +PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE PLATFORM_LIBS += -lrt