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

Werner Koch via Gcrypt-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
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

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
openpgp-digital-signature.asc (application/pgp-signature, 247 B)
-----BEGIN PGP SIGNATURE-----

iIMEARYIACsWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCZjjI8g0cd2tAZ251cGcu
b3JnAAoJEBnMHJ4IWxB67+kA/jkfEYqGM4s6r0JCGedLNimjtG1ImoZYaabVjyS3
eNAlAQD4Rt18SqMVq8ox75PjgonHFRNIZbB+CtSAc8O94r3LCA==
=gmkf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.