klibc.bbclass: shared include for building against klibc

* from org.openembedded.dev
* reworked in meta-zaurus
* added missing quotes
* explain more clearly why the compiler/linker flags are reset

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andrea Adami 2011-08-12 06:10:09 +00:00 committed by Koen Kooi
parent 3c0d5e4321
commit 378adecafc

View File

@ -0,0 +1,9 @@
# klcc-cross depends on klibc
DEPENDS =+ "klcc-cross"
export CC = "${TARGET_PREFIX}klcc"
# klcc uses own optimizations by default. See klcc(1) man file.
export CFLAGS=""
export CPPFLAGS=""
export LDFLAGS=""