xen: fix gcc6 build again
This commit is contained in:
parent
3a4a95e423
commit
76f84067aa
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ nostrip_files="
|
||||||
pycompile_module="xen grub"
|
pycompile_module="xen grub"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local i _gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
local i
|
||||||
[ "${_gccver%%.*}" -lt 6 ] && return 0
|
[ ${XBPS_GCC_VERSION_MAJOR} -lt 6 ] && return 0
|
||||||
|
|
||||||
sed -i tools/configure -e's;-Werror;-Wno-error;g'
|
sed -i tools/configure -e's;-Werror;-Wno-error;g'
|
||||||
# Copy patches for _ipxe.tar.gz contents
|
# Copy patches for _ipxe.tar.gz contents
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue