Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | # klcc-cross depends on klibc |
| 2 | DEPENDS =+ "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 | |
| 7 | export CC = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" |
| 8 | export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" |
| 9 | |
| 10 | export CPP = "${CC} -E" |
| 11 | |
| 12 | # klcc uses own optimizations by default. See klcc(1) man file. |
| 13 | export CFLAGS="" |
| 14 | export CPPFLAGS="" |
| 15 | export LDFLAGS="" |