diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/ipodpatcher/Makefile | 2 | ||||
-rw-r--r-- | rbutil/libtools.make | 3 | ||||
-rw-r--r-- | rbutil/sansapatcher/Makefile | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 6a94466a0c..bae805671e 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile | |||
@@ -7,7 +7,7 @@ | |||
7 | # $Id$ | 7 | # $Id$ |
8 | # | 8 | # |
9 | 9 | ||
10 | CFLAGS += -Wall -W -D__USE_MINGW_ANSI_STDIO=1 | 10 | CFLAGS += -Wall -W |
11 | 11 | ||
12 | # Build with "make BOOTOBJS=1" to build with embedded bootloaders and the | 12 | # Build with "make BOOTOBJS=1" to build with embedded bootloaders and the |
13 | # --install option and interactive mode. You need the full set of Rockbox | 13 | # --install option and interactive mode. You need the full set of Rockbox |
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) |
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index c510d968bb..b3bf51ee2a 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile | |||
@@ -6,7 +6,7 @@ | |||
6 | # \/ \/ \/ \/ \/ | 6 | # \/ \/ \/ \/ \/ |
7 | 7 | ||
8 | TARGET_DIR ?= $(shell pwd)/ | 8 | TARGET_DIR ?= $(shell pwd)/ |
9 | CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE -D__USE_MINGW_ANSI_STDIO=1 | 9 | CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE |
10 | 10 | ||
11 | OUTPUT = sansapatcher | 11 | OUTPUT = sansapatcher |
12 | 12 | ||