software/common: use -std=gnu99 for GCC

This commit is contained in:
Florent Kermarrec 2016-04-10 17:21:17 +02:00
parent b2eaf412c1
commit 238d69f186
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ ifeq ($(CLANG),1)
CC_normal := clang -target $(TRIPLE) -integrated-as CC_normal := clang -target $(TRIPLE) -integrated-as
CX_normal := clang++ -target $(TRIPLE) -integrated-as CX_normal := clang++ -target $(TRIPLE) -integrated-as
else else
CC_normal := $(TARGET_PREFIX)gcc CC_normal := $(TARGET_PREFIX)gcc -std=gnu99
CX_normal := $(TARGET_PREFIX)g++ CX_normal := $(TARGET_PREFIX)g++
endif endif
AR_normal := $(TARGET_PREFIX)ar AR_normal := $(TARGET_PREFIX)ar