commit 7ed9eac5915b6ff5847a876027338c44c6739f9f
Author: Jan Palus <[email protected]>
Date:   Mon Jul 5 10:08:10 2021 +0200

    include debug flags during linking
    
    python built with optimizations uses LTO and in order to have debug
    info all debug flags need to be repeated for linker

 python3.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python3.spec b/python3.spec
index 54f2012..c1530ae 100644
--- a/python3.spec
+++ b/python3.spec
@@ -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 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/7ed9eac5915b6ff5847a876027338c44c6739f9f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to