sessreg: fix gcc6 build again
This commit is contained in:
parent
65625927e0
commit
28cd52e09c
|
@ -22,8 +22,7 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local _gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
||||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
|
||||||
sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
|
sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue