klibc.bbclass: use klcc as CPP
authorAndrea Adami <andrea.adami@gmail.com>
Sun, 20 May 2012 21:37:20 +0000 (21:37 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:20:56 +0000 (08:20 -0800)
(From meta-openembedded rev: 3e8c748620294102423001a91583ddf3ac54f912)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-initramfs/classes/klibc.bbclass

index d553bd7..e8cdb6d 100644 (file)
@@ -2,6 +2,7 @@
 DEPENDS =+ "klcc-cross"
 
 export CC = "${TARGET_PREFIX}klcc"
+export CPP = "${CC} -E"
 
 # klcc uses own optimizations by default. See klcc(1) man file.
 export CFLAGS=""