aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gcc/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 4576b8c227..222960d31b 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -116,8 +116,9 @@ build() {
if [ "$LANG_OBJC" != "off" ]; then
_languages=$_languages,objc
fi
- # and enable java with LANG_JAVA=on
- if [ "$LANG_JAVA" = "on" ]; then
+
+ # and disable java with LANG_JAVA=off
+ if [ "$LANG_JAVA" != "off" ]; then
_languages="$_languages,java"
fi