summaryrefslogtreecommitdiff
path: root/package/ttcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ttcp/Makefile')
-rw-r--r--package/ttcp/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/ttcp/Makefile b/package/ttcp/Makefile
index e8df1cd43..db764318a 100644
--- a/package/ttcp/Makefile
+++ b/package/ttcp/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}/ttcp \
- ${WRKBUILD}/ttcp.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/ttcp ${WRKBUILD}/ttcp.c
do-install:
${INSTALL_DIR} ${IDIR_TTCP}/usr/bin