commit f525a513b3edf0be7034a92fa1ae96dcd50705d5
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Mar 20 10:54:37 2018 -0400
try use_custom_libcxx=true on epel7
chromium.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/chromium.spec b/chromium.spec
index 9dd3058..53b4163 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -842,7 +842,12 @@ CHROMIUM_CORE_GN_DEFINES+=' ffmpeg_branding="ChromeOS"
proprietary_codecs=true'
%else
CHROMIUM_CORE_GN_DEFINES+=' ffmpeg_branding="Chromium"
proprietary_codecs=false'
%endif
-CHROMIUM_CORE_GN_DEFINES+=' treat_warnings_as_errors=false
linux_use_bundled_binutils=false use_custom_libcxx=false'
+CHROMIUM_CORE_GN_DEFINES+=' treat_warnings_as_errors=false
linux_use_bundled_binutils=false'
+%if 0%{?rhel} == 7
+CHROMIUM_CORE_GN_DEFINES+=' use_custom_libcxx=true'
+%else
+CHROMIUM_CORE_GN_DEFINES+=' use_custom_libcxx=false'
+%endif
%ifarch aarch64
CHROMIUM_CORE_GN_DEFINES+=' target_cpu="arm64"'
%endif
Show replies by date