diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2022-10-01 08:27:38 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2022-10-01 08:30:11 +0100 |
| commit | 2a9fc04635c6c0b9a822f3c0aafeade1422fb8d9 (patch) | |
| tree | c4531f009f75591cc6193aa5b8ecaf9495587edc /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f32a43f6de2c69fa92a35f13acae5d1ccd779dca (diff) | |
cc-wrapper/add-hardening.sh: always unset _FORTIFY_SOURCE before re-setting it
On darwin clang driver always sets -D_FORTIFY_SOURCE=0 under asan.
This causes -Werror to trip over macro redefinition:
<command line>:1:9: error: '_FORTIFY_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
#define _FORTIFY_SOURCE 2
^
To avoid it let's always explicitly undefine it first before redefining.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
