Skip to content

Commit

Permalink
Make.win32: enable linking with recent mingw64
Browse files Browse the repository at this point in the history
- `-fcommon` option to prevent `multiple definition` errors
- tested with cygwin's mingw64-i686-gcc-core v10.2.0
  • Loading branch information
affeldt authored and affeldt-aist committed May 15, 2021
1 parent fa5671b commit b69dd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make.win32
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CC=$(MING)gcc
AS=$(MING)as
RANLIB=$(MING)ranlib
WINDRES=$(MING)windres
CFLAGS=-Wall -Wno-missing-braces -I$(ROOT)/include -I$(ROOT) -I$(ROOT)/kern -c -D_X86_ -DIS_32 -DWINDOWS -DUNICODE -O2
CFLAGS=-Wall -Wno-missing-braces -I$(ROOT)/include -I$(ROOT) -I$(ROOT)/kern -c -D_X86_ -DIS_32 -DWINDOWS -DUNICODE -O2 -fcommon
O=o
FS=fs-win32
IP=win32
Expand Down

0 comments on commit b69dd95

Please sign in to comment.