summaryrefslogtreecommitdiff
path: root/config/mh-ppc-aix
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-06-04 09:33:35 +0000
committerPaolo Bonzini <bonzini@gnu.org>2007-06-04 09:33:35 +0000
commitb1e4278aee719a1f2c7d26f8bcca7b4a224b1e9c (patch)
treeed2b77ea8b9078731de8e10c4160e4823a746beb /config/mh-ppc-aix
parent0f3b082e94927da6f8ddfee871d624f9fd74607d (diff)
downloadgdb-b1e4278aee719a1f2c7d26f8bcca7b4a224b1e9c.tar.gz
2007-06-04 Olivier Hainque <hainque@adacore.com>
* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
Diffstat (limited to 'config/mh-ppc-aix')
-rw-r--r--config/mh-ppc-aix11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
index f2bc76a0c3e..a56985fa940 100644
--- a/config/mh-ppc-aix
+++ b/config/mh-ppc-aix
@@ -1,8 +1,9 @@
-# Compile Ada files with minimal-toc. The primary focus is gnatlib, so
-# that the library does not use nearly the entire TOC of applications
-# until gnatlib is built as a shared library on AIX. Compiling the
-# compiler with -mminimal-toc does not cause any harm.
-BOOT_ADAFLAGS = -mminimal-toc
+# Compile Ada files with minimal-toc in addition to the default flags (at
+# least -gnatg is required to compile language defined units). The primary
+# focus is gnatlib, so that the library does not use nearly the entire TOC of
+# applications until gnatlib is built as a shared library on AIX. Compiling
+# the compiler with -mminimal-toc does not cause any harm.
+BOOT_ADAFLAGS = -gnatapg -mminimal-toc
BOOT_LDFLAGS = -Wl,-bbigtoc
LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`