Skip to content
Snippets Groups Projects
Commit 008343f6 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Merge pull request #621 from stinos/migw-w64-fix

windows: Fix compilation with mingw-w64 so it uses correct printf implem...
parents 05376541 32acd4b9
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@ INC += -I$(BUILD)
# compiler settings
CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
LDFLAGS = $(LDFLAGS_MOD) -lm
ifeq ($(CROSS_COMPILE),i686-w64-mingw32-)
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
endif
# Debugging/Optimization
ifdef DEBUG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment