Commit 7cb4463d authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 189814de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ LDFLAGS += --coverage
endif
endif

CFLAGS   += $(COMMON_CFLAGS) -Wno-pointer-sign -std=gnu11
CFLAGS   += $(COMMON_CFLAGS) -Wno-pointer-sign -std=gnu99

MAKEFLAGS += --no-print-directory