build: Handle gcc with --pie-by-default.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Jul 2019 11:57:30 +0000 (13:57 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Jul 2019 11:57:30 +0000 (13:57 +0200)
commit479bf10878d9d33012f57be72d96e30ac2b51f89
treedda32dddda1355c415d044f1a938ea7dab5d87db
parentfca5f11dd47f59945682a382726efaf33e91412e
build: Handle gcc with --pie-by-default.

This fixes upgrading to debian-hurd-20190220.img.

* build-aux/build.sh.in (CFLAGS): Add -static.  Fixes using gcc
compiled with --pie-by-default
* build-aux/check.sh.in (CFLAGS): Likewise.
* module/mescc.scm (parse-opts): Ignore -no-pie, -static.
build-aux/build.sh.in
build-aux/check.sh.in
module/mescc.scm