blob: f2bc76a0c3ed521760ca485a0967bc3616de42f4 [file] [log] [blame]
# 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;`