summaryrefslogtreecommitdiff
path: root/arch/sandbox/config.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-26 16:00:26 -0500
committerMike Frysinger <vapier@gentoo.org>2012-03-12 11:03:43 -0400
commit20186a1cbff3fd87954627538ce712a162c22351 (patch)
treee8f32719110a87522105ffb245cfd3b236197aef /arch/sandbox/config.mk
parent3ab7d95aa0b57c5976e1cbb1cd80ec1a24ffa78a (diff)
downloadu-boot-imx-20186a1cbff3fd87954627538ce712a162c22351.zip
u-boot-imx-20186a1cbff3fd87954627538ce712a162c22351.tar.gz
u-boot-imx-20186a1cbff3fd87954627538ce712a162c22351.tar.bz2
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 <sjg@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/sandbox/config.mk')
-rw-r--r--arch/sandbox/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk
index 2ec1bb7..02ce4a4 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