summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2014-06-30 17:58:37 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2014-06-30 17:58:37 +0200
commit79a56fabb971b7f74fcf64ff857e9f2bfcb434db (patch)
treecbcad04ef1629ca153a89d47ad2e70040ed6beda /rbutil/mkimxboot
parent7de2a364d067076958b5120a178f14d2ee0c02b8 (diff)
downloadrockbox-79a56fabb971b7f74fcf64ff857e9f2bfcb434db.tar.gz
rockbox-79a56fabb971b7f74fcf64ff857e9f2bfcb434db.zip
Compile imxtools as gnu99 standard.
With current MinGW using c99 as standard the compiler causes problems with some types. Use gnu99 standard instead which doesn't do this. Change-Id: I731f58025645ae88ac226593a2b2a62140285ee8
Diffstat (limited to 'rbutil/mkimxboot')
-rw-r--r--rbutil/mkimxboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile
index 1b0dbb15d3..3aa8438256 100644
--- a/rbutil/mkimxboot/Makefile
+++ b/rbutil/mkimxboot/Makefile
@@ -8,7 +8,8 @@
# We use the SB code available in the Rockbox utils/sbtools directory
IMXTOOLS_DIR=../../utils/imxtools/sbtools/
CFLAGS += -I$(IMXTOOLS_DIR) -Wall
-CFLAGS += -std=c99 -g -O3
+# std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE)
+CFLAGS += -std=gnu99 -g -O3
OUTPUT = mkimxboot