summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
commit02e9bb0970ba681f228dc642b1e5026cc97047c7 (patch)
tree3521f7ffac2ffbb868e88fbaff85018b5fee54a5 /toolchain/gcc
parent23153b00979f7e0e6b1dee395db7215185ba501b (diff)
simplify buildsystem
- remove ADK_IPV6, ADK_CXX and ADK_X11 - enable ipv6 by default in uclibc - enable build of c++ compiler by default
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index f93691cab..a46e0db49 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -5,13 +5,6 @@ include $(TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-
-ifeq ($(ADK_CXX),y)
-TARGET_LANGUAGES:= c,c++
-else
-TARGET_LANGUAGES:= c
-endif
-
GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
@@ -26,14 +19,9 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--disable-biarch \
--disable-multilib \
--disable-sjlj-exceptions \
+ --disable-libssp \
--disable-nls
-ifeq ($(ADK_SSP),y)
-GCC_CONFOPTS+= --enable-libssp
-else
-GCC_CONFOPTS+= --disable-libssp
-endif
-
ifeq ($(ADK_TARGET_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
@@ -108,7 +96,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured:
PATH=$(TARGET_PATH) \
$(WRKBUILD)/configure \
${GCC_CONFOPTS} \
- --enable-languages=$(TARGET_LANGUAGES) \
+ --enable-languages=c,c++ \
--with-sysroot=$(STAGING_DIR) \
--with-slibdir=$(STAGING_DIR)/lib \
--enable-shared \