[LTP] [RFC PATCH 8/8] travis: Build with -fno-common
Petr Vorel
pvorel@suse.cz
Wed Apr 15 11:28:09 CEST 2020
This is the default with gcc-10, but use it with all compilers.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
index e3d268c83..50fb527e4 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@
set -e
-CFLAGS="${CFLAGS:--Werror=implicit-function-declaration}"
+CFLAGS="${CFLAGS:--Werror=implicit-function-declaration -fno-common}"
CC="${CC:-gcc}"
DEFAULT_PREFIX="$HOME/ltp-install"
--
2.26.0
More information about the ltp
mailing list