From 238d69f186d0d5fffb8bb13740cf145d3f9526e4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 10 Apr 2016 17:21:17 +0200 Subject: [PATCH] software/common: use -std=gnu99 for GCC --- litex/soc/software/common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/common.mak b/litex/soc/software/common.mak index accbfe9df..bc56b8310 100644 --- a/litex/soc/software/common.mak +++ b/litex/soc/software/common.mak @@ -7,7 +7,7 @@ ifeq ($(CLANG),1) CC_normal := clang -target $(TRIPLE) -integrated-as CX_normal := clang++ -target $(TRIPLE) -integrated-as else -CC_normal := $(TARGET_PREFIX)gcc +CC_normal := $(TARGET_PREFIX)gcc -std=gnu99 CX_normal := $(TARGET_PREFIX)g++ endif AR_normal := $(TARGET_PREFIX)ar