diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-04-03 14:00:15 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-04-03 14:00:15 +0900 |
commit | 7edf1abb9a0d892a80cbf7ab42f64b2720671ee9 (patch) | |
tree | 50775db9c3a8c7fbe440a13d2a1481492fb2d326 /cipher/Makefile.am | |
parent | bcf5922eaac274f5ace991ecace01e718a9fe964 (diff) | |
download | libgcrypt-7edf1abb9a0d892a80cbf7ab42f64b2720671ee9.tar.gz |
build: Allow build with -Oz.
* cipher/Makefile.am [ENABLE_O_FLAG_MUNGING]: Support -Oz.
* random/Makefile.am [ENABLE_O_FLAG_MUNGING]: Support -Oz.
--
GnuPG-bug-id: 6432
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/Makefile.am')
-rw-r--r-- | cipher/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/Makefile.am b/cipher/Makefile.am index cf1fbe85..e67b1ee2 100644 --- a/cipher/Makefile.am +++ b/cipher/Makefile.am @@ -165,7 +165,7 @@ gost-s-box$(EXEEXT_FOR_BUILD): gost-s-box.c if ENABLE_O_FLAG_MUNGING -o_flag_munging = sed -e 's/-O\([2-9sg][2-9sg]*\)/-O1/' -e 's/-Ofast/-O1/g' +o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]*\)/-O1/' -e 's/-Ofast/-O1/g' else o_flag_munging = cat endif |