public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecat] f45: Remove gnu++17 standard | Set FMT_ENFORCE_COMPILE_STRING to 0
@ 2026-10-17 11:26 Antonio Trande
  0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-10-17 11:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/icecat
Branch : f45
Commit : 340a1734208cec2efbf921a18a8f61069db1c303
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-10-14T19:32:06+02:00
Stats  : +4/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/icecat/c/340a1734208cec2efbf921a18a8f61069db1c303?branch=f45

Log:
Remove gnu++17 standard | Set FMT_ENFORCE_COMPILE_STRING to 0

---
diff --git a/icecat.spec b/icecat.spec
index 8d967ab..d7e7f5a 100644
--- a/icecat.spec
+++ b/icecat.spec
@@ -554,10 +554,11 @@ export RUSTFLAGS="$RUSTFLAGS -C target-cpu=native -C opt-level=3 -Clinker=clang-
 
 #  error "STL code can only be used with -fno-exceptions"
 CXXFLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-fexceptions/-fno-exceptions/')
-export CXXFLAGS="$CXXFLAGS"
-export CXXFLAGS="$CXXFLAGS -fpermissive -std=gnu++17"
 
-export CFLAGS="$MOZ_OPT_FLAGS -std=gnu17"
+# Try to fix the fmt build error
+export CXXFLAGS="$CXXFLAGS -DFMT_ENFORCE_COMPILE_STRING=0"
+export CXXFLAGS="$CXXFLAGS -fpermissive"
+export CFLAGS="$MOZ_OPT_FLAGS -DFMT_ENFORCE_COMPILE_STRING=0"
 export LDFLAGS="%{__global_ldflags} $MOZ_LINK_FLAGS -L%{_libdir} -L%{icecatappdir}"
 export PREFIX='%{_prefix}'
 export LIBDIR='%{_libdir}'

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 11:26 [rpms/icecat] f45: Remove gnu++17 standard | Set FMT_ENFORCE_COMPILE_STRING to 0 Antonio Trande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox