summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 4 insertions, 2 deletions
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 $@