From: Jan Palus Date: Sun, 7 Nov 2021 19:09:44 +0000 (+0100) Subject: -fno-semantic-interposition is upstream now X-Git-Tag: auto/th/python3-3.10.3-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3.git;a=commitdiff_plain;h=6e46332d19b7bfd115dbccf2cb205b38d39ddd33 -fno-semantic-interposition is upstream now --- diff --git a/python3.spec b/python3.spec index 6d7283a..7b3165b 100644 --- a/python3.spec +++ b/python3.spec @@ -7,7 +7,6 @@ %bcond_without tests # disables Python testing %bcond_with verbose_tests # runs tests in verbose mode %bcond_without optimizations # expensive, stable optimizations (PGO etc.) + LTO -%bcond_with semantic_interposition # build without \-fno-semantic-interposition # # tests which will not work on 64-bit platforms %define no64bit_tests -x test_audioop -x test_rgbimg -x test_imageop @@ -549,10 +548,9 @@ fi %configure \ CC="%{__cc}" \ OPT="%{rpmcflags}" \ - CFLAGS_NODIST="%{!?with_semantic_interposition: -fno-semantic-interposition}" \ CPPFLAGS="%{rpmcppflags}" \ LDFLAGS="%{rpmldflags}" \ - LDFLAGS_NODIST="%{debuginfocflags}%{!?with_semantic_interposition: -fno-semantic-interposition}" \ + LDFLAGS_NODIST="%{debuginfocflags}" \ ac_cv_posix_semaphores_enabled=yes \ ac_cv_broken_sem_getvalue=no \ --enable-ipv6 \