From 81689657d7f23ab9dadf666d03efe32bfa8137cd Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 22 Oct 2016 18:43:46 +0200 Subject: main/protobuf: fix build on gcc6 --- main/protobuf/APKBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main') diff --git a/main/protobuf/APKBUILD b/main/protobuf/APKBUILD index 7d15f5f6a0..c6d1961acb 100644 --- a/main/protobuf/APKBUILD +++ b/main/protobuf/APKBUILD @@ -28,11 +28,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ + CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" \ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ || return 1 make || return 1 make check || return 1 -- cgit v1.2.3