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:
parent
273c557cf8
commit
703798d1d0
|
@ -225,7 +225,7 @@ customflags =
|
||||||
|
|
||||||
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
|
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
|
||||||
|
|
||||||
CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
|
CFLAGS = -fcommon -g $(sysconfigflags) $(prereleaseflags)
|
||||||
|
|
||||||
# Don't worry about these -- for development purposes only.
|
# Don't worry about these -- for development purposes only.
|
||||||
PURIFY = purify
|
PURIFY = purify
|
||||||
|
|
Reference in New Issue