aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/Makefile.inc
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-12-22 16:05:54 +0100
committerMartin Roth <martinroth@google.com>2016-12-27 23:34:12 +0100
commit8bbd596de631adc8b677e69603e978b848eb1708 (patch)
tree677cf97adb10bef5a89953449c9dfed0a0b65284 /src/cpu/Makefile.inc
parent76f8dbc4f70469e0b5913796d6130e85df1cdd77 (diff)
buildgcc: Build GMP `--with-pic` if GCC defaults to `-pie`
GCC 6 can optionally default to building all binaries as position independent executables (PIE). This breaks linking against static libraries that are compiled without position independent code (PIC). Building GMP `--with-pic` in this case seems to be the least fragile solution. TEST=Run `make all` and `make BUILDGCC_OPTIONS=-b build-i386` in util/crossgcc on Debian Stretch. Change-Id: I5f3185af9c8d599379a628e18724b217b88be974 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17936 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'src/cpu/Makefile.inc')
0 files changed, 0 insertions, 0 deletions