1 # To prevent the Ada static runtime library from using nearly the entire
2 # TOC, we used to compile Ada files with minimal-toc in addition to -gnatg
3 # (mandatory to compile language defined units). This incured a performance
4 # penalty and is not required with section anchors enabled by default so we
5 # don't do it any more.
6 BOOT_ADAFLAGS = -gnatapg
7 BOOT_LDFLAGS = -Wl,-bbigtoc
8 LDFLAGS = `case '$(CC)' in *gcc*) echo -Wl,-bbigtoc ;; esac;`