fix: remove -m flags to improve compatibility #1

Merged
jengelh merged 1 commits from guoyunhe/plutosvg:master into master 2025-06-07 11:34:56 +02:00
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 7 05:36:22 UTC 2025 - Yunhe Guo <i@guoyunhe.me>
- Remove -m flags to improve compatibility
-------------------------------------------------------------------
Fri Jun 6 14:57:55 UTC 2025 - Yunhe Guo <i@guoyunhe.me>

View File

@@ -62,9 +62,6 @@ PlutoSVG is an SVG rendering library written in C.
%build
export CFLAGS="%{optflags} -fPIC -O3 -ftree-parallelize-loops=4 -ftree-vectorize -fpredictive-commoning"
%ifarch x86_64
export CFLAGS="${CFLAGS} -march=x86-64-v2 -mtune=generic -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -mpclmul"
%endif
export CXXFLAGS="%{optflags}"
export LDFLAGS="${LDFLAGS} -Wl,-lm"
%cmake \