diff options
author | simit.ghane <simit.ghane@lge.com> | 2024-06-28 10:37:00 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-02 22:29:13 +0100 |
commit | ceb6a4ecf9796c1c7b07f29ae4d435c589ed9957 (patch) | |
tree | c6192d8ba7a7465746ccf0f2063ae098bdc17888 /meta/lib/oeqa/runtime/cases/ssh.py | |
parent | 309d1bd9357e91934dce1e8fe415cf945a264be8 (diff) | |
download | poky-ceb6a4ecf9796c1c7b07f29ae4d435c589ed9957.tar.gz |
libgcrypt: Fix building error with '-O2' in sysroot path
Characters like '-O2' or '-Ofast' will be replaced by '-O1' and '-O0'
respectively when compiling cipher and random in the filesystem
paths as well if they happen to contain '-O2' or '-Ofast
If we are cross compiling libgcrypt and sysroot contains such
characters, we would
get compile errors because the sysroot path has been modified.
Fix this by adding blank spaces and tabs before the original matching
pattern in the sed command.
It is difficult to control -O1 for cipher and -O0 for random
at the same time in OE environment along with patch file.
So, keeping same change as it is.
(From OE-Core rev: ecd26bbba36ad715c2a0f20475ebc977ea94746c)
Signed-off-by: simit.ghane <simit.ghane@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/ssh.py')
0 files changed, 0 insertions, 0 deletions