compile with -fcommon flag

This is needed for GCC 10 and newer, which switched to -fno-common by
default. Based on a patch by Peter Hofmann:
https://aur.archlinux.org/cgit/aur.git/commit/?h=ncsa-mosaic-git&id=8e57546ba0b0d0ac94505b840b089a15bd657f92
This commit is contained in:
Sean Bartell 2021-03-16 18:52:52 -05:00
parent 273c557cf8
commit 703798d1d0
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ customflags =
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
CFLAGS = -fcommon -g $(sysconfigflags) $(prereleaseflags)
# Don't worry about these -- for development purposes only.
PURIFY = purify