E.g. Fedora doesn't install glibc-static by default and the yocto
prerequisites do not mandate installing it. Rather than requiring
glibc-static drop linking with -static.
Works around:
| .../build/tmp/hosttools/ld: cannot find -lc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
 inherit deploy
 
 # Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build
-CFLAGS = "-O2 -Wall -std=c99 -static -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"
+CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"
 
 # This package aggregates output deployed by other packages,
 # so set the appropriate dependencies
 
 
 inherit native deploy
 
-CFLAGS = "-O2 -Wall -std=c99 -static -I ${STAGING_INCDIR} -L ${STAGING_LIBDIR}"
+CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR} -L ${STAGING_LIBDIR}"
 
 do_compile () {
     cd ${S}