firebird: remove XBPS_GCC_* usage

This commit is contained in:
maxice8 2019-01-18 03:07:17 -02:00 committed by maxice8
parent 9964ac65d3
commit 78ccf58b33
1 changed files with 2 additions and 4 deletions

View File

@ -38,10 +38,8 @@ pre_configure() {
# Set -fPIC for btyacc tool to support PIE linker flags
sed -i extern/btyacc/Makefile -e 's;CFLAGS=;CFLAGS=-fPIC;'
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
# Fix gcc6 error for "void * operator new(size_t size) { return 0; }"
patch -p0 < ${FILESDIR}/fix-gcc6-no_throw_bad_alloc.patch
fi
# Fix gcc6 error for "void * operator new(size_t size) { return 0; }"
patch -p0 < ${FILESDIR}/fix-gcc6-no_throw_bad_alloc.patch
}
do_install() {