diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-24 13:53:54 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-24 13:53:54 +0200 |
commit | a364914bfea200bd4d4ddab7450384f3302ae7bf (patch) | |
tree | 735bc8e2fa8e2e57f2132c20a8ae94ddcf5e32b8 /community/openjdk7 | |
parent | c16713cf246b5ff0e8636287d720d01a72515332 (diff) | |
download | aports-a364914bfea200bd4d4ddab7450384f3302ae7bf.tar.bz2 aports-a364914bfea200bd4d4ddab7450384f3302ae7bf.tar.xz |
community/openjdk7: fix swapped CFLAGS and CXXFLAGS
Diffstat (limited to 'community/openjdk7')
-rw-r--r-- | community/openjdk7/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/openjdk7/APKBUILD b/community/openjdk7/APKBUILD index 7e1bff0227..79f0cb149c 100644 --- a/community/openjdk7/APKBUILD +++ b/community/openjdk7/APKBUILD @@ -128,10 +128,10 @@ build() { # Explicitly set the C++ standard as the default has changed on GCC 6+ # and disable optimizations that lead to a broken JVM. These options # has been adopted from the Fedora package. - export EXTRA_CPP_FLAGS="$CFLAGS -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse" + export EXTRA_CPP_FLAGS="$CXXFLAGS -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse" # CXXFLAGS doesn't make it to all calls, so we set the C++ standard # version for C too. - export EXTRA_CFLAGS="$CXXFLAGS -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" + export EXTRA_CFLAGS="$CFLAGS -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" local patch for patch in $source; do |