summaryrefslogtreecommitdiff
path: root/package/huawei
diff options
context:
space:
mode:
Diffstat (limited to 'package/huawei')
-rw-r--r--package/huawei/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/huawei/Makefile b/package/huawei/Makefile
index 3b555a66e..9d780f37e 100644
--- a/package/huawei/Makefile
+++ b/package/huawei/Makefile
@@ -21,8 +21,10 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} \
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
-o ${WRKBUILD}/huawei ${WRKBUILD}/huawei.c -lusb
do-install: