1597410b8Schristos# To prevent the Ada static runtime library from using nearly the entire 2597410b8Schristos# TOC, we used to compile Ada files with minimal-toc in addition to -gnatg 3597410b8Schristos# (mandatory to compile language defined units). This incured a performance 4597410b8Schristos# penalty and is not required with section anchors enabled by default so we 5597410b8Schristos# don't do it any more. 6597410b8SchristosBOOT_ADAFLAGS = -gnatapg 7597410b8SchristosBOOT_LDFLAGS = -Wl,-bbigtoc 8*05598a80SchristosLDFLAGS = `case '$(CC)' in *gcc*) echo -Wl,-bbigtoc ;; esac;` 9