diff options
Diffstat (limited to 'package/mksh/Makefile')
-rw-r--r-- | package/mksh/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mksh/Makefile b/package/mksh/Makefile index c40d9d807..63d391e18 100644 --- a/package/mksh/Makefile +++ b/package/mksh/Makefile @@ -21,7 +21,13 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MKSH,mksh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +ifeq ($(ADK_STATIC),y) +TARGET_CFLAGS+= -static +TARGET_LDFLAGS+= -static +endif + TARGET_CPPFLAGS+= -DMKSH_SMALL=1 +TARGET_LDFLAGS+= -static-libgcc CONFIG_STYLE:= manual BUILD_STYLE:= manual INSTALL_STYLE:= manual |