Re: [OE-core] [PATCHv1] Fix building error with '-O2' in sysroot path

2024-05-15 Thread simit.ghane
Sorry for late reply. 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. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199276):

Re: [OE-core] [PATCHv1] Fix building error with '-O2' in sysroot path

2024-05-08 Thread Ross Burton
Feels like we should both backport that _and_ pass —disable-O-flag-munging, as we control the compiler flags. Ross > On 8 May 2024, at 11:48, simit.ghane via lists.openembedded.org > wrote: > > Characters like '-O2' or '-Ofast' will be replaced by '-O1' and '-O0' > respectively when

[OE-core] [PATCHv1] Fix building error with '-O2' in sysroot path

2024-05-08 Thread simit.ghane
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