fix: remove -m flags to improve compatibility #1
@@ -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>
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user