|
@@ -45,9 +45,9 @@ function build_conf_python() { |
|
|
# remove flags not compatible with python |
|
|
# remove flags not compatible with python |
|
|
export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-fvisibility=hidden//')" |
|
|
export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-fvisibility=hidden//')" |
|
|
export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-ffast-math//')" |
|
|
export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-ffast-math//')" |
|
|
#export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-fdata-sections -ffunction-sections//')" |
|
|
|
|
|
#export LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-dead_strip -Wl,-dead_strip_dylibs//')" |
|
|
|
|
|
#export LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-fdata-sections -ffunction-sections//')" |
|
|
|
|
|
|
|
|
export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-fdata-sections -ffunction-sections//')" |
|
|
|
|
|
export LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-dead_strip -Wl,-dead_strip_dylibs//')" |
|
|
|
|
|
export LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-fdata-sections -ffunction-sections//')" |
|
|
|
|
|
|
|
|
if [ ! -f "${pkgdir}/.stamp_configured" ]; then |
|
|
if [ ! -f "${pkgdir}/.stamp_configured" ]; then |
|
|
pushd "${pkgdir}" |
|
|
pushd "${pkgdir}" |
|
|