Skip to content

Commit 669a412

Browse files
author
Joakim Gebart
committed
Makefile.cflags: Add -fno-common by default to CFLAGS.
1 parent f71f832 commit 669a412

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.cflags

+3
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ ifeq ($(LTO),yes)
4747
CFLAGS += ${LTOFLAGS}
4848
LINKFLAGS += ${LTOFLAGS}
4949
endif
50+
51+
# Forbid common symbols to prevent accidental aliasing.
52+
CFLAGS += -fno-common

0 commit comments

Comments
 (0)