summaryrefslogtreecommitdiff
path: root/random
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-04-03 14:00:15 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2023-04-03 14:00:15 +0900
commit7edf1abb9a0d892a80cbf7ab42f64b2720671ee9 (patch)
tree50775db9c3a8c7fbe440a13d2a1481492fb2d326 /random
parentbcf5922eaac274f5ace991ecace01e718a9fe964 (diff)
downloadlibgcrypt-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 'random')
-rw-r--r--random/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/random/Makefile.am b/random/Makefile.am
index af978570..0c935a05 100644
--- a/random/Makefile.am
+++ b/random/Makefile.am
@@ -56,7 +56,7 @@ jitterentropy-base.c jitterentropy.h jitterentropy-base-user.h
# The rndjent module needs to be compiled without optimization. */
if ENABLE_O_FLAG_MUNGING
-o_flag_munging = sed -e 's/-O\([1-9sg][1-9sg]*\)/-O0/g' -e 's/-Ofast/-O0/g'
+o_flag_munging = sed -e 's/-O\([1-9sgz][1-9sgz]*\)/-O0/g' -e 's/-Ofast/-O0/g'
else
o_flag_munging = cat
endif