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