[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: ungoogled-chromium: Remove obsolete compiler flags.
From: |
guix-commits |
Subject: |
03/04: gnu: ungoogled-chromium: Remove obsolete compiler flags. |
Date: |
Mon, 10 Jan 2022 14:17:48 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit f6134ca5ffcab6b66195daac1395872e0e327a4f
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jan 9 17:09:19 2022 +0100
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.
---
gnu/packages/chromium.scm | 10 ----------
1 file changed, 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")