security/libgcrypt: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2024-07-17 10:14:03 +02:00
parent d5c6128888
commit 8cb7551ded
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- cipher/Makefile.in.orig 2024-07-13 04:19:00 UTC
+++ cipher/Makefile.in
@@ -643,7 +643,7 @@ EXTRA_libcipher_la_SOURCES = \
blake2s-amd64-avx.S blake2s-amd64-avx512.S
@ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O1 /' -e 's/[[:blank:]]-Ofast/ -O1 /g'
+@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O1 /g' -e 's/[[:blank:]]-Ofast/ -O1 /g'
@ENABLE_INSTRUMENTATION_MUNGING_FALSE@instrumentation_munging = cat
# We need to disable instrumentation for these modules as they use cc as

View file

@ -0,0 +1,11 @@
--- random/Makefile.in.orig 2024-07-13 04:20:47 UTC
+++ random/Makefile.in
@@ -407,7 +407,7 @@ jitterentropy-base.c jitterentropy.h jitterentropy-bas
@ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
# The rndjent module needs to be compiled without optimization. */
-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([1-9sgz][1-9sgz]*\)/ -O0 /' -e 's/[[:blank:]]-Ofast/ -O0 /g'
+@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([1-9sgz][1-9sgz]*\)/ -O0 /g' -e 's/[[:blank:]]-Ofast/ -O0 /g'
all: all-am
.SUFFIXES: