mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
More fixes for the new givaro.
This commit is contained in:
parent
5829ef49ab
commit
08597fb142
2 changed files with 26 additions and 0 deletions
|
@ -693,6 +693,11 @@ sed -e "s,SINGULARPATH=\",&%{_libdir}/Singular/LIB:," \
|
|||
-e "s,\(SINGULAR_EXECUTABLE=\"\).*\",\1%{_libdir}/Singular/Singular\"," \
|
||||
-i src/bin/sage-env
|
||||
|
||||
# fix givaro interface on 32-bit platforms
|
||||
if [ "%{__isa_bits}" == "32" ]; then
|
||||
sed -i 's/int64_t/int32_t/' src/sage/libs/singular/singular.pyx
|
||||
fi
|
||||
|
||||
########################################################################
|
||||
%build
|
||||
export CC=%{__cc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue