From 78ccf58b33316b355d1a2b231a42d9602f23199e Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 18 Jan 2019 03:07:17 -0200 Subject: [PATCH] firebird: remove XBPS_GCC_* usage --- srcpkgs/firebird/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/firebird/template b/srcpkgs/firebird/template index ccc074dc666..a6041395f6c 100644 --- a/srcpkgs/firebird/template +++ b/srcpkgs/firebird/template @@ -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() {