diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-12-27 11:51:49 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-12-27 12:12:23 +0100 |
commit | 783d430642d213761f32844088d29686b753ad6a (patch) | |
tree | 8355b77ba77f1a479520d03080f23a25fe263266 /mk/toolchain.mk | |
parent | ce76cad6b9022013c73163f001b7138c0452822b (diff) | |
download | embtoolkit-783d430642d213761f32844088d29686b753ad6a.tar.gz embtoolkit-783d430642d213761f32844088d29686b753ad6a.tar.bz2 embtoolkit-783d430642d213761f32844088d29686b753ad6a.tar.xz |
Toolchain/Build system: rework commit da4852176b on cflags
This patch removes use of cflags introduced by commit:da4852176b , as
it will break cross compilation of some broken packages. However it
leaves it in C libraries configuration/build as done previously.
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/toolchain.mk')
-rw-r--r-- | mk/toolchain.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mk/toolchain.mk b/mk/toolchain.mk index a6a3783..1687bc8 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -32,11 +32,7 @@ TARGETNM := $(TOOLS)/bin/$(STRICT_GNU_TARGET)-nm TARGETSTRIP := $(TOOLS)/bin/$(STRICT_GNU_TARGET)-strip TARGETOBJDUMP := $(TOOLS)/bin/$(STRICT_GNU_TARGET)-objdump TARGETOBJCOPY := $(TOOLS)/bin/$(STRICT_GNU_TARGET)-objcopy -TARGET_CFLAGS := $(EMBTK_TARGET_MCPU) -TARGET_CFLAGS += $(EMBTK_TARGET_MARCH) -TARGET_CFLAGS += $(EMBTK_TARGET_ABI) -TARGET_CFLAGS += $(EMBTK_TARGET_FLOAT_CFLAGS) -TARGET_CFLAGS += $(subst ",,$(strip $(CONFIG_EMBTK_TARGET_COMPILER_CFLAGS))) +TARGET_CFLAGS := $(subst ",,$(strip $(CONFIG_EMBTK_TARGET_COMPILER_CFLAGS))) TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_SIZE_OPTIMIZED),-Os,) TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_SPEED_OPTIMIZED),-O3,) TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_WITH_DEBUG_DATA),-g,) |