diff options
Diffstat (limited to 'rbutil/libtools.make')
-rw-r--r-- | rbutil/libtools.make | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make index b3015015ed..cc582ce015 100644 --- a/rbutil/libtools.make +++ b/rbutil/libtools.make | |||
@@ -27,6 +27,9 @@ APPVERSION ?= $(shell $(TOP)/../tools/version.sh ../) | |||
27 | CFLAGS += -DVERSION=\"$(APPVERSION)\" | 27 | CFLAGS += -DVERSION=\"$(APPVERSION)\" |
28 | TARGET_DIR ?= $(shell pwd)/ | 28 | TARGET_DIR ?= $(shell pwd)/ |
29 | 29 | ||
30 | # use POSIX/C99 printf on windows | ||
31 | CFLAGS += -D__USE_MINGW_ANSI_STDIO=1 | ||
32 | |||
30 | BINARY = $(OUTPUT) | 33 | BINARY = $(OUTPUT) |
31 | # when building a Windows binary add the correct file suffix | 34 | # when building a Windows binary add the correct file suffix |
32 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 35 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |