On Mon, Oct 16, 2023 at 8:27 AM Dave Hitchman <dave.hitch...@kymati.com> wrote: > > So my current recipe for the project works, including building various C, C++ > files > I wanted to now add a library of someone elses creation. > On my machine this library builds using the tools installed so the code is ok > > I added a recipe to my yocto build and it attempts to do the cmake. > > Unfortunately whatever I have tried over 2 days cmake insists: > > On using the from my machine NOT the cross compiling tool set the rest of the > yocto build uses. > | -- The CXX compiler identification is GNU 9.4.0 > | -- The C compiler identification is GNU 9.4.0 > Getting upset about the flags passed in: > | g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead > | cc1plus: error: bad value (‘armv8-a+crc+crypto’) for ‘-march=’ switch > I cant even find where these flags are actually set, where I found them and > thought they were set I altered them to be FRED and nothing changed in the > errors at all. > > > Any idea? Surely it should be pretty easy?
share your recipe and also any peculiarities in CMake files in this library > > thanks > Dave > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61347): https://lists.yoctoproject.org/g/yocto/message/61347 Mute This Topic: https://lists.yoctoproject.org/mt/101998042/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-