diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 18:12:14 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 18:12:45 +0200 |
commit | 224199c2a01bb660242688aca506373e40b79775 (patch) | |
tree | b90c366b66df5084f491f023a4ee8992a1ce6585 /package/python2 | |
parent | 160355e07ae13598b10bdf1962e8c8044042c2a7 (diff) |
optimize environment variables, reduce duplicate stuff
Diffstat (limited to 'package/python2')
-rw-r--r-- | package/python2/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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) |