From 10cbc7024e9f194cfa1686a14c4ef7fac43b55c6 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 31 Dec 2020 17:48:16 +0100 Subject: [PATCH] We cant strip symbols from python modules :( --- bootstrap-carla.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap-carla.sh b/bootstrap-carla.sh index aa4b6f3..0fc7f61 100755 --- a/bootstrap-carla.sh +++ b/bootstrap-carla.sh @@ -45,9 +45,9 @@ function build_conf_python() { # remove flags not compatible with python 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/-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 pushd "${pkgdir}"