aboutsummaryrefslogtreecommitdiff
path: root/config/mh-ppc-aix
diff options
context:
space:
mode:
Diffstat (limited to 'config/mh-ppc-aix')
-rw-r--r--config/mh-ppc-aix8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
new file mode 100644
index 0000000..f2bc76a
--- /dev/null
+++ b/config/mh-ppc-aix
@@ -0,0 +1,8 @@
+
+# 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
+BOOT_LDFLAGS = -Wl,-bbigtoc
+LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`