2017-12-07 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / config / mh-ppc-aix
bloba866f7fef81a87e8c75f89b73402e1072ee32a13
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;`