summaryrefslogtreecommitdiff
path: root/package/ether-wake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ether-wake/Makefile')
-rw-r--r--package/ether-wake/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/ether-wake/Makefile b/package/ether-wake/Makefile
index 39985ea08..335b6f441 100644
--- a/package/ether-wake/Makefile
+++ b/package/ether-wake/Makefile
@@ -19,9 +19,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o \
- ${WRKBUILD}/ether-wake ${WRKBUILD}/ether-wake.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/ether-wake ${WRKBUILD}/ether-wake.c
do-install:
${INSTALL_DIR} ${IDIR_ETHER_WAKE}/usr/sbin