diff options
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r-- | package/e2fsprogs/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile index 7b22a922d..3ce19d494 100644 --- a/package/e2fsprogs/Makefile +++ b/package/e2fsprogs/Makefile @@ -38,14 +38,14 @@ $(eval $(call PKG_template,E2FSCK_STATIC,e2fsck-static,${PKG_VERSION}-${PKG_RELE CONFIGURE_ARGS+= --enable-elf-shlibs --disable-rpath INSTALL_TARGET+= install-libs -TLDFLAGS+= -lpthread +TARGET_LDFLAGS+= -lpthread pre-build: ${MAKE} -C ${WRKBUILD}/util \ - BUILDCC="${HOSTCC}" \ - CFLAGS="" \ - LDFLAGS="" \ - CPPFLAGS="" \ + BUILDCC="${CC_FOR_BUILD}" \ + CFLAGS="${CFLAGS_FOR_BUILD}" \ + LDFLAGS="${LDFLAGS_FOR_BUILD}" \ + CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \ subst post-build: |