Commit | Line | Data |
---|---|---|
1 | ||
2 | # Compile Ada files with minimal-toc in addition to the default flags (at | |
3 | # least -gnatg is required to compile language defined units). The primary | |
4 | # focus is gnatlib, so that the library does not use nearly the entire TOC of | |
5 | # applications until gnatlib is built as a shared library on AIX. Compiling | |
6 | # the compiler with -mminimal-toc does not cause any harm. | |
7 | BOOT_ADAFLAGS = -gnatapg -mminimal-toc | |
8 | BOOT_LDFLAGS = -Wl,-bbigtoc | |
9 | LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;` |