blob: f864104cfbd3feda64ff6326405f56a54976e386 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# klcc-cross depends on klibc
2DEPENDS =+ "klcc-cross"
3
4# Default for klcc is to build static binaries.
5# Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
6
7export CC = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}"
8export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork"
9
10export CPP = "${CC} -E"
11
12# klcc uses own optimizations by default. See klcc(1) man file.
13export CFLAGS=""
14export CPPFLAGS=""
15export LDFLAGS=""