summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index dc9092dd9..60cb0c705 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -38,7 +38,7 @@ CONFIGURE_ARGS:= --with-threads \
post-extract:
$(CP) ./files/python-config.in ${WRKBUILD}/Misc/python-config.in
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- OPT="$(HOSTCFLAGS)" \
+ OPT="$(CFLAGS_FOR_BUILD)" \
./configure --without-cxx-main --without-threads \
--prefix=$(STAGING_HOST_DIR)/usr \
);