9c: use -fcommon for clang

Fixes #469.
This commit is contained in:
Russ Cox 2020-12-30 00:06:35 -05:00
parent 2991442aef
commit 69439fae67

1
bin/9c
View file

@ -83,6 +83,7 @@ useclang()
-Wno-unneeded-internal-declaration \ -Wno-unneeded-internal-declaration \
-fsigned-char \ -fsigned-char \
-fno-caret-diagnostics \ -fno-caret-diagnostics \
-fcommon \
" "
cflags="$cflags -g" cflags="$cflags -g"
cflags="$cflags $CC9FLAGS" cflags="$cflags $CC9FLAGS"