summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 15:09:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 15:09:21 +0000
commitb501edd4c0f7b4fffc6d187ee5e0bd862d381a79 (patch)
tree07710d24a89adbcbad9a5640a2ca1ea606534fd7 /misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk
parentf71ae9420678e0aea0e985a0dc7ae7ac4707b624 (diff)
downloadnuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.gz
nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.bz2
nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.zip
Add GCC 4.5.2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3535 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk')
-rw-r--r--misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk b/misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk
index 68f852143..25da37e29 100644
--- a/misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk
+++ b/misc/buildroot/toolchain/gcc/gcc-nuttx-4.x.mk
@@ -29,6 +29,11 @@ GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
GCC_CAT:=$(BZCAT)
GCC_STRIP_HOST_BINARIES:=true
+# gcc 4.6.x quadmath requires wchar
+ifneq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y)
+GCC_QUADMATH=--disable-libquadmath
+endif
+
#############################################################
#
# Setup some initial stuff
@@ -36,8 +41,6 @@ GCC_STRIP_HOST_BINARIES:=true
#############################################################
GCC_TARGET_LANGUAGES:=c
-GCC_TARGET_PREREQ=
-GCC_STAGING_PREREQ=
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
@@ -61,7 +64,6 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
GCC_ENABLE_CLOCALE:=--disable-clocale
endif
-
#############################################################
#
# build the gcc compiler
@@ -100,7 +102,7 @@ endif
endif
touch $@
-$(GCC_BUILD_DIR)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
+$(GCC_BUILD_DIR)/.configured: $(GCC_DIR)/.patched
mkdir -p $(GCC_BUILD_DIR)
# Important! Required for limits.h to be fixed.
ln -snf ../include/ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include