HomePhabricator

guix: combine and document enable_werror

Description

guix: combine and document enable_werror

Summary:
Combine into hardened-glibc.
Document why we don't use --disable-werror directly.

https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html

By default, the GNU C Library is built with -Werror. If you wish
to build without this option (for example, if building with a
newer version of GCC than this version of the GNU C Library was
tested with, so new warnings cause the build with -Werror to fail),
you can configure with --disable-werror.

This is a backport of core#27326
Depends on D15327

Test Plan: contrib/guix/guix-build

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15328

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Mar 24 2023, 15:23
PiRKCommitted on Jan 31 2024, 09:36
PiRKPushed on Jan 31 2024, 09:37
Reviewer
Restricted Project
Differential Revision
D15328: guix: combine and document enable_werror
Parents
rABC2004d77e072e: guix/gitian: update python-lief package to 0.13.2
Branches
Unknown
Tags
Unknown