[packages/python3] - rel 2; rework options to avoid case when part of object files were built with one flags (eg with -
arekm
arekm at pld-linux.org
Fri Feb 21 19:21:57 CET 2014
commit 04b427b211cb0a2bf7aa210312f1ed1bf94c1be9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Feb 21 19:21:54 2014 +0100
- rel 2; rework options to avoid case when part of object files were built with one flags (eg with -DNDEBUG) and part without (without -DNDEBUG); drop vars for crossbuild (weren't tested for years)
python3.spec | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 1e95e9e..fa69f31 100644
--- a/python3.spec
+++ b/python3.spec
@@ -38,7 +38,7 @@ Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
Version: %{py_ver}.4
-Release: 1
+Release: 2
Epoch: 1
License: PSF
Group: Applications
@@ -492,8 +492,10 @@ if ! grep -q "tmpfs" /proc/self/mounts; then
fi
%{__autoconf}
-CPPFLAGS="-I/usr/include/ncursesw %{rpmcppflags} -Wall %{!?debug:-DNDEBUG=1}"; export CPPFLAGS
%configure \
+ OPT="%{rpmcflags} -fno-caller-saves" \
+ CPPFLAGS="%{rpmcppflags}" \
+ LDFLAGS="%{rpmldflags}" \
ac_cv_posix_semaphores_enabled=yes \
ac_cv_broken_sem_getvalue=no \
%{?with_debug:--with-pydebug} \
@@ -511,13 +513,8 @@ CPPFLAGS="-I/usr/include/ncursesw %{rpmcppflags} -Wall %{!?debug:-DNDEBUG=1}"; e
--with-system-expat \
--with-system-ffi \
--with-computed-gotos \
- LINKCC='$(PURIFY) $(CXX)' \
- LDSHARED='$(CC) $(CFLAGS) -shared' \
- BLDSHARED='$(CC) $(CFLAGS) -shared' \
- LDFLAGS="%{rpmcflags} %{rpmldflags}"
-%{__make} \
- OPT="%{rpmcflags} %{rpmcppflags} -fno-caller-saves" 2>&1 | awk '
+%{__make} 2>&1 | awk '
BEGIN { fail = 0; logmsg = ""; }
{
if ($0 ~ /\*\*\* WARNING:/) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/04b427b211cb0a2bf7aa210312f1ed1bf94c1be9
More information about the pld-cvs-commit
mailing list