commit 10048a94e8849c46e932b537979a38ef78c4fda4
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Fri Nov 1 21:22:23 2019 +0530
Disable: Useless for non verbose builds
chromium-freeworld.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index ca3458c..0376aca 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -545,6 +545,11 @@ export CXXFLAGS="$(echo
'%{?__global_cxxflags}%{!?__global_cxxflags:%{__global_c
-e 's/-g1record-g1cc-switches//' )"
export CXXFLAGS="$CXXFLAGS -fpermissive"
+%if !%{debug_logs}
+# Disable useless warning on non debug log builds
+export CFLAGS="$CFLAGS -w"
+export CXXFLAGS="$CXXFLAGS -w"
+%endif
%if 0%{?fedora} <= 29
export CXXFLAGS="$CXXFLAGS -fno-ipa-cp-clone"
%endif
Show replies by date