summary refs log tree commit diff
path: root/gnu/packages/chromium.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-09 17:09:19 +0100
committerMarius Bakke <marius@gnu.org>2022-01-10 20:11:12 +0100
commitf6134ca5ffcab6b66195daac1395872e0e327a4f (patch)
treeee7dc804bbdc926ecbb3f36f3c3293059e619deb /gnu/packages/chromium.scm
parent169df8760380e70c7023c78091de1a5530da7339 (diff)
downloadguix-f6134ca5ffcab6b66195daac1395872e0e327a4f.tar.gz
gnu: ungoogled-chromium: Remove obsolete compiler flags.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Don't set CFLAGS
and CXXFLAGS, as the build system already does the right thing.
Diffstat (limited to 'gnu/packages/chromium.scm')
-rw-r--r--gnu/packages/chromium.scm10
1 files changed, 0 insertions, 10 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index ae8cc14c08..d600f0c352 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -690,16 +690,6 @@
                        "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
                        (getenv "CPLUS_INCLUDE_PATH")))
 
-             (setenv "CXXFLAGS"
-                     (string-join
-                      '(;; Do not optimize away null pointer safety checks.
-                        "-fno-delete-null-pointer-checks"
-                        ;; Disable warnings about unknown warnings that require
-                        ;; Clang plugins or newer versions.
-                        "-Wno-unknown-warning-option")))
-
-             (setenv "CFLAGS" "-Wno-unknown-warning-option")
-
              ;; TODO: pre-compile instead. Avoids a race condition.
              (setenv "PYTHONDONTWRITEBYTECODE" "1")