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}