firebird: remove XBPS_GCC_* usage
This commit is contained in:
parent
9964ac65d3
commit
78ccf58b33
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue