From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Wed, 08 Aug 2018 16:30:21 +0200 Subject: [Buildroot] [PATCH] uboot-tools: requires host gcc 4.7+ In-Reply-To: (Baruch Siach's message of "Tue, 7 Aug 2018 07:38:01 +0300") References: Message-ID: <87tvo5exs2.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Baruch" == Baruch Siach writes: > U-Boot now adds -std=gnu11 when building its build utilities, like > fixdep. This option is only supported since gcc version 4.7. > https://gcc.gnu.org/gcc-4.7/changes.html > Fixes: > http://autobuild.buildroot.net/results/ea0/ea09b614a3c10d494939d9551c0c3bfca4626ece/ > http://autobuild.buildroot.net/results/f8e/f8efd9af4d86c51fe4f5afe44db9abf9adc5718f/ > http://autobuild.buildroot.net/results/c0a/c0ab35c3cb46f84863fe20c0ee92ecc2379578b6/ > Cc: Matt Weber > Signed-off-by: Baruch Siach > --- > package/uboot-tools/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > diff --git a/package/uboot-tools/Config.in b/package/uboot-tools/Config.in > index 63a058e8562a..78a8b66c4d97 100644 > --- a/package/uboot-tools/Config.in > +++ b/package/uboot-tools/Config.in > @@ -1,10 +1,14 @@ > config BR2_PACKAGE_UBOOT_TOOLS > bool "u-boot tools" > + depends on BR2_HOST_GCC_AT_LEAST_4_7 # -std=gnu11 What about host-uboot-tools? -- Bye, Peter Korsgaard