aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/config/mh-ppc-aix
blob: a56985fa9402f8460f6c0003de53a20bd2d3a734 (plain)
1
2
3
4
5
6
7
8
9

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