From 50760692099d12117fd4e43505e12f05fc14da8c Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 30 Dec 2019 11:46:31 +0100 Subject: [PATCH] pmb/aportgen/gcc.py: add LANG_D=false (!1849) Alpine's APKBUILD for gcc supports a new language that we don't need, so disable it just like the irrelevant ones. Related: https://gitlab.com/postmarketOS/pmaports/merge_requests/839 --- pmb/aportgen/gcc.py | 1 + test/testdata/aportgen/pmaports/cross/gcc-armhf/APKBUILD | 1 + 2 files changed, 2 insertions(+) diff --git a/pmb/aportgen/gcc.py b/pmb/aportgen/gcc.py index 8079634a..994c0815 100644 --- a/pmb/aportgen/gcc.py +++ b/pmb/aportgen/gcc.py @@ -62,6 +62,7 @@ def generate(args, pkgname): below_header = "CTARGET_ARCH=" + arch + """ CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" + LANG_D=false LANG_OBJC=false LANG_JAVA=false LANG_GO=false diff --git a/test/testdata/aportgen/pmaports/cross/gcc-armhf/APKBUILD b/test/testdata/aportgen/pmaports/cross/gcc-armhf/APKBUILD index 7001dfc1..c047a40a 100644 --- a/test/testdata/aportgen/pmaports/cross/gcc-armhf/APKBUILD +++ b/test/testdata/aportgen/pmaports/cross/gcc-armhf/APKBUILD @@ -4,6 +4,7 @@ CTARGET_ARCH=armhf CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" +LANG_D=false LANG_OBJC=false LANG_JAVA=false LANG_GO=false