From 51c2d6ff6b339f5f07a034ed0cce43921b8939e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Feb 2019 09:46:38 +0100 Subject: [PATCH] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- sagemath.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sagemath.spec b/sagemath.spec index 055f4de..4559292 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -935,9 +935,8 @@ sed -i 's/64m/128m/' src/sage/libs/gap/util.pyx ######################################################################## %build +%set_build_flags export CC=%{__cc} -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" export SAGE_PYTHON_VERSION=3 export SAGE_ROOT=%{buildroot}%{SAGE_ROOT} export SAGE_LOCAL=%{buildroot}%{SAGE_LOCAL}