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