]> git.pld-linux.org Git - packages/python3.git/commitdiff
include debug flags during linking auto/th/python3-3.9.6-1
authorJan Palus <atler@pld-linux.org>
Mon, 5 Jul 2021 08:08:10 +0000 (10:08 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 5 Jul 2021 08:08:10 +0000 (10:08 +0200)
python built with optimizations uses LTO and in order to have debug
info all debug flags need to be repeated for linker

python3.spec

index 54f2012b2c5498fb936a13e7474c50626699bca1..c1530ae51fd687f4a120c129ba386837b3b520e2 100644 (file)
@@ -552,7 +552,7 @@ fi
        CFLAGS_NODIST="%{!?with_semantic_interposition: -fno-semantic-interposition}" \
        CPPFLAGS="%{rpmcppflags}" \
        LDFLAGS="%{rpmldflags}" \
-       LDFLAGS_NODIST="%{!?with_semantic_interposition: -fno-semantic-interposition}" \
+       LDFLAGS_NODIST="%{debuginfocflags}%{!?with_semantic_interposition: -fno-semantic-interposition}" \
        ac_cv_posix_semaphores_enabled=yes \
        ac_cv_broken_sem_getvalue=no \
        --enable-ipv6 \
This page took 0.036927 seconds and 4 git commands to generate.