.travis.yml: Add -fno-common to CFLAGS (#7870)
-fno-common will be set by default in GCC 10, see https://gcc.gnu.org/PR85678 Therefore, netdata should test with that configuration to be ready for this change. See https://github.com/netdata/netdata/issues/7869
Craig Andrews committed
Jan 28, 2020 at 16:13 UTC
2225456fd589ef82d202b180cff4fc4ae55cd338
1 file changed
+1
-1
.travis.yml
+1
-1
@@ -121,7 +121,7 @@ jobs:
121
122
name: Standard netdata build
123
script: fakeroot ./netdata-installer.sh --install $HOME --dont-wait --dont-start-it --enable-plugin-nfacct --enable-plugin-freeipmi --disable-lto
124
- env: CFLAGS='-O1 -Wall -Wextra -Wformat-signedness -fstack-protector-all -DNETDATA_INTERNAL_CHECKS=1 -D_FORTIFY_SOURCE=2 -DNETDATA_VERIFY_LOCKS=1'
124
+ env: CFLAGS='-O1 -Wall -Wextra -Wformat-signedness -fstack-protector-all -fno-common -DNETDATA_INTERNAL_CHECKS=1 -D_FORTIFY_SOURCE=2 -DNETDATA_VERIFY_LOCKS=1'
125
after_failure: post_message "TRAVIS_MESSAGE" "<!here> standard netdata build is failing (Still dont know which one, will improve soon)"
126
127
- name: Docker container build process (alpine installation)