netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:37 +02:00
parent 53998fadf4
commit 190bc2b5be
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ do_configure() {
grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
}
do_build() {
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
HOST_CFLAGS=-fcommon \
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
}
do_install() {