2 # Compile Ada files with minimal-toc. The primary focus is gnatlib, so
3 # that the library does not use nearly the entire TOC of applications
4 # until gnatlib is built as a shared library on AIX. Compiling the
5 # compiler with -mminimal-toc does not cause any harm.
6 BOOT_ADAFLAGS = -mminimal-toc
7 BOOT_LDFLAGS = -Wl,-bbigtoc
8 LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`