From a777f26c3252c64928e970f83f2aabe494bacf87 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 Feb 2005 02:38:28 +0000 Subject: [PATCH] pdinoto writes: This patch adds an option in GCC config to compile Objective-C language support in the toolchain. It is disabled by default, so it is not intrusive. --- toolchain/gcc/Config.in | 7 +++++++ toolchain/gcc/gcc-uclibc-3.x.mk | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 9403aba278..3bce26efd1 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -74,3 +74,10 @@ config BR2_INSTALL_LIBGCJ depends on BR2_INSTALL_LIBSTDCPP help Build/install java compiler and libgcj? + +config BR2_INSTALL_OBJC + bool "Build/install Objective-C compiler and runtime?" + default n + help + Build/install Objective-C compiler and runtime? + diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 3457b4a69b..0e400c2360 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -49,6 +49,10 @@ TARGET_LANGUAGES:=c endif endif +ifeq ($(BR2_INSTALL_OBJC),y) +TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc +endif + ############################################################# # # build the first pass gcc compiler -- 2.30.2