Skip to content

Commit 7e21f17

Browse files
committed
Make configure script use $OFLAG
Tested. Seems to work. Please verify because there's still a lot of -O3's in the output in distribut.sh
1 parent 78392de commit 7e21f17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes/python/recipe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ function build_python() {
9292
export LDFLAGS="$LDFLAGS -L$SRC_PATH/obj/local/$ARCH/"
9393
fi
9494

95-
try ./configure --host=arm-eabi --prefix="$BUILD_PATH/python-install" --enable-shared --disable-toolbox-glue --disable-framework
96-
echo ./configure --host=arm-eabi --prefix="$BUILD_PATH/python-install" --enable-shared --disable-toolbox-glue --disable-framework
95+
try ./configure --host=arm-eabi OPT=$OFLAG --prefix="$BUILD_PATH/python-install" --enable-shared --disable-toolbox-glue --disable-framework
96+
echo ./configure --host=arm-eabi OPT=$OFLAG--prefix="$BUILD_PATH/python-install" --enable-shared --disable-toolbox-glue --disable-framework
9797
echo $MAKE HOSTPYTHON=$BUILD_python/hostpython HOSTPGEN=$BUILD_python/hostpgen CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
9898
cp HOSTPYTHON=$BUILD_python/hostpython python
9999

0 commit comments

Comments
 (0)