From a3e6349e4bbf4ad193350bb8576779c82babc5e1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 01 Apr 2019 18:37:05 -0400 Subject: build: Build with -std=c99 --- diff --git a/build b/build index b8502f4..cd1355b 100755 --- a/build +++ b/build @@ -2,14 +2,16 @@ include ../source.mk +CFLAGS = -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -std=c99 + nop: @: build: oh-autoconfigure - oh-autobuild + oh-autobuild -- CFLAGS='$(CFLAGS)' if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \ - oh-autotest; \ + oh-autotest -- CFLAGS='$(CFLAGS)'; \ fi touch $@ -- cgit v0.9.1