mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
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:
parent
169df87603
commit
f6134ca5ff
1 changed files with 0 additions and 10 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue