From: Florent Kermarrec Date: Sun, 10 Apr 2016 15:21:17 +0000 (+0200) Subject: software/common: use -std=gnu99 for GCC X-Git-Tag: 24jan2021_ls180~1976^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=238d69f186d0d5fffb8bb13740cf145d3f9526e4;p=litex.git software/common: use -std=gnu99 for GCC --- diff --git a/litex/soc/software/common.mak b/litex/soc/software/common.mak index accbfe9d..bc56b831 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