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