build: use -std=gnu99 rather than -std=gnu11
We don't use any C11-specific features, and switching to C99 will allow us to support older versions of GCC. In particular, the version of GCC used by Travis CI is too old to support -std=gnu11. Change-Id: Id5bd8351fdd83e7f4b6703048a921c78c3f06ec6 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
189814de83
commit
7cb4463dc5
@ -84,7 +84,7 @@ LDFLAGS += --coverage
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += $(COMMON_CFLAGS) -Wno-pointer-sign -std=gnu11
|
CFLAGS += $(COMMON_CFLAGS) -Wno-pointer-sign -std=gnu99
|
||||||
|
|
||||||
MAKEFLAGS += --no-print-directory
|
MAKEFLAGS += --no-print-directory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user