I am trying to create my own bitbake recipe and I keep getting this error

 

arm-angstrom-linux-gnueabi-ld: unrecognized option ‘-Wl, -rpath-link, /gz/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib’

 

This is nothing I have in my recipe and seems like a linking option that Bitbake creates on its own.  I don’t understand why it says it’s an unrecognized option as both –W and –rpath-link are valid ld options and it seems from what I can see Bitbake does this with all of its linking..

 

Has anyone seen this before and know how to fix it?  My guess is there is something I might need to add to my recipe, but I really don’t know where to start on this one.

 

Thanks