Compare commits

...

3 Commits

Author SHA1 Message Date
c1e24154c0
Fix typos
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-03 17:10:54 +02:00
1e4dd44a8a
Test -ffp-contract=off
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-03 16:14:00 +02:00
a2e603268b
Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-01 18:05:57 +02:00

View File

@ -3,7 +3,7 @@ Version: 1.3
%forgemeta
Name: lib2geom
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Easy to use 2D geometry library in C++
License: LGPL-2.1-only AND MPL-1.1
@ -42,6 +42,11 @@ developing applications that use %{name}.
%forgeautosetup -p1
%build
%ifarch riscv64
export CFLAGS="%{optflags} -ffp-contract=off"
export CXXFLAGS="%{optflags} -ffp-contract=off"
%endif
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-D2GEOM_BUILD_SHARED=ON \