From 86e298ff031dcb026a15dc2b16a7634fd099fae6 Mon Sep 17 00:00:00 2001 From: hainque Date: Mon, 4 Jun 2007 07:48:28 +0000 Subject: [PATCH 1/1] * mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125309 138bc75d-0d04-0410-961f-82ee72b054a4 --- config/ChangeLog | 4 ++++ config/mh-ppc-aix | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/config/ChangeLog b/config/ChangeLog index b11c920b855..2bf1f1e3706 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2007-06-04 Olivier Hainque + + * mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS. + 2007-05-27 Paolo Bonzini * confsubdir.m4: Move here from newlib. 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;` -- 2.11.0