Compare commits
3 Commits
rawhide
...
main-riscv
Author | SHA1 | Date | |
---|---|---|---|
c1e24154c0 | |||
1e4dd44a8a | |||
a2e603268b |
@ -3,7 +3,7 @@ Version: 1.3
|
|||||||
%forgemeta
|
%forgemeta
|
||||||
|
|
||||||
Name: lib2geom
|
Name: lib2geom
|
||||||
Release: %autorelease
|
Release: %autorelease -e 0.riscv64
|
||||||
Summary: Easy to use 2D geometry library in C++
|
Summary: Easy to use 2D geometry library in C++
|
||||||
|
|
||||||
License: LGPL-2.1-only AND MPL-1.1
|
License: LGPL-2.1-only AND MPL-1.1
|
||||||
@ -42,6 +42,11 @@ developing applications that use %{name}.
|
|||||||
%forgeautosetup -p1
|
%forgeautosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch riscv64
|
||||||
|
export CFLAGS="%{optflags} -ffp-contract=off"
|
||||||
|
export CXXFLAGS="%{optflags} -ffp-contract=off"
|
||||||
|
%endif
|
||||||
|
|
||||||
%cmake -GNinja \
|
%cmake -GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-D2GEOM_BUILD_SHARED=ON \
|
-D2GEOM_BUILD_SHARED=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user