software/common: use -std=gnu99 for GCC
This commit is contained in:
parent
b2eaf412c1
commit
238d69f186
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue