From a76c8a5256c926f0a040b4c7085a631ef9b74aa8 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 19 May 2020 23:18:21 -0600 Subject: qemu: add -fcommon for compiling ping with gcc-10 Signed-off-by: Jason A. Donenfeld --- src/tests/qemu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index 45728b1..a3b4a81 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -350,7 +350,7 @@ $(IPUTILS_PATH)/.installed: $(IPUTILS_TAR) touch $@ $(IPUTILS_PATH)/ping: | $(IPUTILS_PATH)/.installed $(USERSPACE_DEPS) - $(MAKE) -C $(IPUTILS_PATH) USE_CAP=no USE_IDN=no USE_NETTLE=no USE_CRYPTO=no ping + $(MAKE) -C $(IPUTILS_PATH) USE_CAP=no USE_IDN=no USE_NETTLE=no USE_CRYPTO=no CFLAGS="-fcommon $(CFLAGS)" ping $(STRIP) -s $@ $(BASH_PATH)/.installed: $(BASH_TAR) -- cgit v1.2.3