From 79a56fabb971b7f74fcf64ff857e9f2bfcb434db Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 30 Jun 2014 17:58:37 +0200 Subject: [PATCH] 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 --- rbutil/mkimxboot/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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