summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-02-05 11:06:07 -0800
committerPixel <pixel@nobis-crew.org>2011-02-05 11:06:07 -0800
commit8b1fadd6a89f12cbc81c5d621a75b91dd9eedec2 (patch)
tree0b130b02101391e206c07cb0a1c9031bb4d27f21 /config
parent4830af498e2d3a5440e65c63a3595b91f1cd4ac9 (diff)
Adding Sun's fdlibm, and libnix's scanf, tweaked to become an xscanf. Adding a few more libc inlined also.
Diffstat (limited to 'config')
-rw-r--r--config/toolchain.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/toolchain.mk b/config/toolchain.mk
index ee9d5b5..272670b 100644
--- a/config/toolchain.mk
+++ b/config/toolchain.mk
@@ -4,7 +4,7 @@ TARGET_FORMAT = elf32-littlearm
ifeq ($(CPU_FLAVOR),lpc1768)
TARGET_CPPFLAGS += -mcpu=cortex-m3 -mtune=cortex-m3 -D__thumb2__=1 -march=armv7-m -mfix-cortex-m3-ldrd
endif
-TARGET_CPPFLAGS += -Os -mapcs-frame -msoft-float -mno-sched-prolog -fno-hosted -ffunction-sections -fdata-sections -fshort-wchar
+TARGET_CPPFLAGS += -Os -mapcs-frame -msoft-float -mno-sched-prolog -fno-hosted -ffunction-sections -fdata-sections -fshort-wchar -D__LITTLE_ENDIAN
TARGET_CFLAGS += -mthumb
endif