diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-06 15:47:33 -0700 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-06 15:47:33 -0700 |
commit | 74b9f0bbad27ae1b6ecfca7fb072cbad85a98a6b (patch) | |
tree | 06d9e9afd8026de4b0fbd6b044f1e76de64407a4 | |
parent | 216d1834cd3f5b85df57a64c589a5ab2f95ce432 (diff) | |
download | automake-74b9f0bbad27ae1b6ecfca7fb072cbad85a98a6b.tar.gz |
tests: support -fno-common in vala-mix2 test.
This change fixes https://bugs.gnu.org/41726.
* t/vala-mix2.sh: extern in .h, initialization in .c.
GCC 10 defaults to -fno-common.
-rw-r--r-- | t/vala-mix2.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/vala-mix2.sh b/t/vala-mix2.sh index 8e6a21436..933a3ffca 100644 --- a/t/vala-mix2.sh +++ b/t/vala-mix2.sh @@ -44,7 +44,7 @@ int main () END cat > foo.h <<'END' -int foo; +extern int foo; int bar (void); int baz (void); END @@ -56,7 +56,7 @@ END cat > baz.c <<'END' #include "foo.h" -extern int foo = 0; +int foo = 0; int baz (void) { return 0; } END |