old-cross-binutils/config/mh-ppc-aix
Paolo Bonzini 9dfacfd20b 2007-06-04 Olivier Hainque <hainque@adacore.com>
* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
2007-06-04 09:33:35 +00:00

9 lines
492 B
Text

# 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;`