On Sun, May 03, 2020 at 12:21:38PM -0700, Andre McCurdy wrote: > On Sun, May 3, 2020 at 10:39 AM Khem Raj <raj.k...@gmail.com> wrote: > > > > I think add it globally to BUILD_CFLAGS perhaps is > > Right thing to do once we upgrade to gcc10 cross compiler I have a patch to > > add it to gcc defaults > > Adding -fcommon to CFLAGS or BUILD_CFLAGS globally could interact > badly with components which are already setting -fno-common via their > own internal CFLAGS. It's safer to fix selectively on a per-recipe > basis. >...
For master per-recipe solutions would be the best option. And for the target side this is all that is needed. The problematic part is the host side when building older Yocto releases on latest Linux distributions. Per-recipe changes for dunfell oe-core and gazillion 3rd party dunfell layers are not a desirable solution. cu Adrian
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137976): https://lists.openembedded.org/g/openembedded-core/message/137976 Mute This Topic: https://lists.openembedded.org/mt/73950368/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-