[PATCH] libgcrypt: fix building error with '-O2' in sysroot path

Werner Koch wk at gnupg.org
Mon May 6 14:11:30 CEST 2024


On Mon,  6 May 2024 17:07, simit.ghane said:
> Characters like '-O2' or '-Ofast' will be replaced by '-O1' when
> compiling cipher and random in the filesystem paths as well if
> they happen to contain '-O2' or '-Ofast

Indeed that will be a problem.

> Fix this by adding blank spaces before and after the original matching
> pattern in the

A tab should be allowed as well as a space.

To limit the risk of regression: Wouldn't it be sufficient to require a
space just before the "-O" or does anyone really start a filename with a
dash?


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20240506/515eeb61/attachment.sig>


More information about the Gcrypt-devel mailing list