summaryrefslogtreecommitdiffstats
path: root/Makefile.shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-28 14:32:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-28 14:32:48 +0000
commit3e422c427ece8230d1c67892cf1414076e217553 (patch)
treedb114ac35d810bb158aa1983155d6d639cc5bf4d /Makefile.shared
parent2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadada-examples-3e422c427ece8230d1c67892cf1414076e217553.tar.bz2
2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Add stack_check test. * Makefile.shared: Add EXTRA_GNATFLAGS so stack_check can specify the flags -fstack-check.
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 505c2ef..cb13aba 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -30,8 +30,8 @@ endif
all: $(PROGRAM)
$(PROGRAM): rtems_init.o $(FILESYSTEM_OBJS) $(PROGRAM).adb
- $(AS:as=gnatmake) -v -O -gnata -gnatE -gnato $(@) -g \
- -I../src \
+ $(AS:as=gnatmake) -v $(EXTRA_GNATFLAGS) \
+ -O -gnata -gnatE -gnato $(@) -g -I../src \
-bargs -Mgnat_main \
-largs $(CARGS) $(LINKARGS) rtems_init.o $(FILESYSTEM_OBJS)
$(SIZE) $(@)