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.
This commit is contained in:
Marius Bakke 2022-01-09 17:09:19 +01:00
parent 169df87603
commit f6134ca5ff
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -690,16 +690,6 @@ (define-public ungoogled-chromium
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%" "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
(getenv "CPLUS_INCLUDE_PATH"))) (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. ;; TODO: pre-compile instead. Avoids a race condition.
(setenv "PYTHONDONTWRITEBYTECODE" "1") (setenv "PYTHONDONTWRITEBYTECODE" "1")