diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-18 03:48:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-18 03:48:19 +0200 |
commit | 9a6d62c868c6669ab0bda24352ad4627d8f38a0e (patch) | |
tree | 550a92fbb01e7e44668a910715ddd6ddb70cb9b3 | |
parent | aafba297c38c6b0a0ac0a41291af1d014011a092 (diff) |
adk tools: suppress compiler warnings
-rw-r--r-- | adk/tools/Makefile | 6 | ||||
-rw-r--r-- | mk/build.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/adk/tools/Makefile b/adk/tools/Makefile index fd0a3c791..dec651462 100644 --- a/adk/tools/Makefile +++ b/adk/tools/Makefile @@ -6,12 +6,12 @@ include $(ADK_TOPDIR)/rules.mk install: ${STAGING_HOST_DIR}/usr/bin/depmaker ${STAGING_HOST_DIR}/usr/bin/pkgrebuild ${STAGING_HOST_DIR}/usr/bin/dkgetsz ${STAGING_HOST_DIR}/usr/bin/depmaker: depmaker.c - ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ depmaker.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -w -o $@ depmaker.c ${STAGING_HOST_DIR}/usr/bin/pkgrebuild: pkgrebuild.c strmap.c - ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ pkgrebuild.c strmap.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -w -o $@ pkgrebuild.c strmap.c ${STAGING_HOST_DIR}/usr/bin/dkgetsz: dkgetsz.c - ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ dkgetsz.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -w -o $@ dkgetsz.c include $(ADK_TOPDIR)/mk/tools.mk diff --git a/mk/build.mk b/mk/build.mk index 1fe387598..78a3e7709 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -632,13 +632,13 @@ distclean cleandir: endif # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y) $(ADK_TOPDIR)/adk/tools/pkgmaker: $(ADK_TOPDIR)/adk/tools/pkgmaker.c $(ADK_TOPDIR)/adk/tools/sortfile.c $(ADK_TOPDIR)/adk/tools/strmap.c - @$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgmaker.c adk/tools/sortfile.c adk/tools/strmap.c + @$(HOST_CC) $(HOST_CFLAGS) -w -o $@ adk/tools/pkgmaker.c adk/tools/sortfile.c adk/tools/strmap.c $(ADK_TOPDIR)/adk/tools/pkgrebuild: $(ADK_TOPDIR)/adk/tools/pkgrebuild.c $(ADK_TOPDIR)/adk/tools/strmap.c - @$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgrebuild.c adk/tools/strmap.c + @$(HOST_CC) $(HOST_CFLAGS) -w -o $@ adk/tools/pkgrebuild.c adk/tools/strmap.c $(ADK_TOPDIR)/adk/tools/depmaker: $(ADK_TOPDIR)/adk/tools/depmaker.c - @$(HOST_CC) $(HOST_CFLAGS) -o $@ $(ADK_TOPDIR)/adk/tools/depmaker.c + @$(HOST_CC) $(HOST_CFLAGS) -w -o $@ $(ADK_TOPDIR)/adk/tools/depmaker.c menu .menu: $(wildcard package/*/Makefile) $(wildcard target/*/systems) $(wildcard target/*/systems/*) $(ADK_TOPDIR)/adk/tools/pkgmaker $(ADK_TOPDIR)/adk/tools/pkgrebuild $(wildcard tasks/*) @printf " ---> generating menu structure.. " |