From 224199c2a01bb660242688aca506373e40b79775 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 16 Jun 2014 18:12:14 +0200 Subject: optimize environment variables, reduce duplicate stuff --- package/python2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/python2') diff --git a/package/python2/Makefile b/package/python2/Makefile index 94f63f8ba..a3d23a0f6 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -85,6 +85,8 @@ $(eval $(call PKG_mod_template,PYTHON2_MOD_NCURSES,_curses)) $(eval $(call PKG_mod_template,PYTHON2_MOD_SSL,_ssl)) $(eval $(call PKG_mod_template,PYTHON2_MOD_READLINE,readline)) +HOST_CFLAGS+= -fPIC + AUTOTOOL_STYLE:= autoreconf MAKE_ENV+= HOSTPGEN=$(STAGING_HOST_DIR)/usr/bin/pgen CONFIGURE_ENV+= ac_cv_have_long_long_format=yes \ @@ -101,7 +103,6 @@ HOST_CONFIGURE_ARGS+= --with-threads \ --disable-shared \ --disable-toolbox-glue \ --without-cxx-main -CFLAGS_FOR_BUILD+= -fPIC hostpre-configure: $(CP) $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD) -- cgit v1.2.3