diff options
author | P. J. McDermott <pj@pehjota.net> | 2019-04-01 18:37:05 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2019-04-01 18:37:05 (EDT) |
commit | a3e6349e4bbf4ad193350bb8576779c82babc5e1 (patch) | |
tree | b22778bc04cd28d8954236db31b8111ec10e1bba /build | |
parent | ab2f7fe9ac957d4bccf17c2fb2f3429a052f698a (diff) |
build: Build with -std=c99
Diffstat (limited to 'build')
-rwxr-xr-x | build | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 $@ |