index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-05 11:44:58 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-05 11:44:58 +0200 |
commit | b7e423dfc05bcb0893dbbb7869e1767ed4742ff5 (patch) | |
tree | 52c5846b3fe32af09aa554b10efd5250aff5ecbf /extra/boost | |
parent | f720cf1a891c9b57d5ea858d1b8183ebc23dd79b (diff) |
-rw-r--r-- | extra/boost/PKGBUILD | 9 |
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD index 12fb68df..cf17845a 100644 --- a/extra/boost/PKGBUILD +++ b/extra/boost/PKGBUILD @@ -12,3 +12,12 @@ if [ "$CARCH" == 'i486' ]; then ' )" fi + +# disable complaining about stack trace feature which leaks memory +eval "$( + declare -f build | \ + sed ' + s/cflags="\([^"]*\)"/cflags="\1 -DBOOST_STACKTRACE_LIBCXX_RUNTIME_MAY_CAUSE_MEMORY_LEAK"/g + s/cxxflags="\([^"]*\)"/cxxflags="\1 -DBOOST_STACKTRACE_LIBCXX_RUNTIME_MAY_CAUSE_MEMORY_LEAK"/g + ' +)" |