diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-01 17:09:08 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-01 17:09:08 +0000 |
commit | e1c9fa056cd4818247eaf87aea4b75a349496585 (patch) | |
tree | 50cba3f523db498417e8fab63fd07f058064a18a /toolchain/gcc | |
parent | 6ea7b3016fb9864d21f6c7b2461f0b3337eeae7c (diff) | |
download | buildroot-novena-e1c9fa056cd4818247eaf87aea4b75a349496585.tar.gz buildroot-novena-e1c9fa056cd4818247eaf87aea4b75a349496585.zip |
- GCC_CROSS_LANGUAGES for non-sysroot enabled gcc
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index ea7c1e3af..da3b9ae18 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -80,16 +80,26 @@ endif # ############################################################# -GCC_TARGET_LANGUAGES:=c +GCC_CROSS_LANGUAGES:=c +ifeq ($(BR2_GCC_CROSS_CXX),y) +GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),c++ +endif +ifeq ($(BR2_GCC_CROSS_FORTRAN),y) +GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),fortran +endif +ifeq ($(BR2_GCC_CROSS_OBJC),y) +GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),objc +endif + + +GCC_TARGET_LANGUAGES:=c ifeq ($(BR2_INSTALL_LIBSTDCPP),y) GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++ endif - ifeq ($(BR2_INSTALL_LIBGCJ),y) GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),java endif - ifeq ($(BR2_INSTALL_OBJC),y) GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc endif @@ -237,7 +247,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ) --build=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ - --enable-languages=$(GCC_TARGET_LANGUAGES) \ + --enable-languages=$(GCC_CROSS_LANGUAGES) \ --disable-__cxa_atexit \ --enable-target-optspace \ --with-gnu-ld \ |