diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-22 18:43:46 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-22 18:50:19 +0200 |
commit | 81689657d7f23ab9dadf666d03efe32bfa8137cd (patch) | |
tree | e86d7add450e8aab5206f4348d564a7d4bdcafff /main/protobuf | |
parent | 2fd99fe0cf3f80db4739da37f7d2ba89f852c4d1 (diff) | |
download | aports-81689657d7f23ab9dadf666d03efe32bfa8137cd.tar.bz2 aports-81689657d7f23ab9dadf666d03efe32bfa8137cd.tar.xz |
main/protobuf: fix build on gcc6
Diffstat (limited to 'main/protobuf')
-rw-r--r-- | main/protobuf/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
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 |