summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2016-08-17 19:30:41 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2016-08-17 19:30:57 +0200
commit40bab0a345305ec271baa374cab20d55eeb2661d (patch)
treee85168583096f28076d4d522b7881b8e2333bc38
parent31b13ed9ef5c46e732208be17d7c90c3af89ed42 (diff)
firebird: gcc6 compatibility part 2
Change-Id: I78ef547f4996050bffe83ab7e0e6acd046264bf8
-rw-r--r--external/firebird/ExternalProject_firebird.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/firebird/ExternalProject_firebird.mk b/external/firebird/ExternalProject_firebird.mk
index 11a289b0fa25..6b3e6894853e 100644
--- a/external/firebird/ExternalProject_firebird.mk
+++ b/external/firebird/ExternalProject_firebird.mk
@@ -55,6 +55,7 @@ $(call gb_ExternalProject_get_state_target,firebird,build):
) \
" \
&& export CXXFLAGS=" \
+ $(if $(shell test '$(GCC_VERSION)' -ge 600 && echo yes),-fno-sized-deallocation -fno-delete-null-pointer-checks,) \
$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS), \
$(BOOST_CPPFLAGS) \
-L$(call gb_UnpackedTarball_get_dir,boost)/source/lib \