[qca-ssdk-shell]: Use global CFLAGS for compile.
Use global CFLAGS for compile for strict check.
Change-Id: Ic7071dc6441a789075f55d79e7ddf85d8205da0e
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
diff --git a/make/target.mk b/make/target.mk
index a72c239..ddb3bd1 100755
--- a/make/target.mk
+++ b/make/target.mk
@@ -10,10 +10,10 @@
$(DEP_LOOP)
$(OBJ_LIST): %.o : %.c %.d
- $(CC) $(CFLAGS) -c $< -o $(DST_DIR)/$@
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $(DST_DIR)/$@
$(DEP_LIST) : %.d : %.c
- $(CC) $(CFLAGS) -MM $< > $(DST_DIR)/$@.tmp
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MM $< > $(DST_DIR)/$@.tmp
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $(DST_DIR)/$@.tmp > $(DST_DIR)/$@
$(RM) -f $(DST_DIR)/$@.tmp;