diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-03 21:25:48 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-03 21:25:48 +0000 |
commit | 42b028fa14d85fae9234e62867466d8c41821f07 (patch) | |
tree | cbc30a14271bc0c347162a5ad358ee01534be077 /toolchain/gcc/Makefile | |
parent | 9c3bf81864220c186fee4ea201400cf7e17b90ac (diff) |
[toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 0198e43641..039643db9b 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -63,7 +63,7 @@ PKG_BUILD_DIR2:=$(PKG_BUILD_DIR)-final SEP:=, TARGET_LANGUAGES:="c$(if $(CONFIG_INSTALL_LIBSTDCPP),$(SEP)c++)$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)" -GCC_CONFIGURE_COMMON:= \ +GCC_CONFIGURE:= \ SHELL="$(BASH)" \ $(PKG_BUILD_DIR)/configure \ --prefix=$(TOOLCHAIN_DIR)/usr \ @@ -80,37 +80,37 @@ GCC_CONFIGURE_COMMON:= \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ ifneq ($(CONFIG_GCC_VERSION_4_3),) - GCC_BUILD_TARGET_LIBGCC:=y - GCC_CONFIGURE_COMMON+= \ + GCC_BUILD_TARGET_LIBGCC:=y + GCC_CONFIGURE+= \ --with-gmp=$(TOPDIR)/staging_dir/host \ --with-mpfr=$(TOPDIR)/staging_dir/host \ --disable-decimal-float endif ifneq ($(CONFIG_SSP_SUPPORT),) - GCC_CONFIGURE_COMMON+= \ + GCC_CONFIGURE+= \ --enable-libssp else - GCC_CONFIGURE_COMMON+= \ + GCC_CONFIGURE+= \ --disable-libssp endif ifneq ($(CONFIG_EXTRA_TARGET_ARCH),) - GCC_CONFIGURE_COMMON+= \ + GCC_CONFIGURE+= \ --enable-biarch \ --enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX) endif ifeq ($(LIBC),uClibc) - GCC_CONFIGURE_COMMON+= \ + GCC_CONFIGURE+= \ --disable-__cxa_atexit else - GCC_CONFIGURE_COMMON+= \ + GCC_CONFIGURE+= \ --enable-__cxa_atexit endif GCC_CONFIGURE_STAGE0:= \ - $(GCC_CONFIGURE_COMMON) \ + $(GCC_CONFIGURE) \ --with-newlib \ --without-headers \ --enable-languages=c \ @@ -119,7 +119,7 @@ GCC_CONFIGURE_STAGE0:= \ --disable-threads \ GCC_CONFIGURE_STAGE1:= \ - $(GCC_CONFIGURE_COMMON) \ + $(GCC_CONFIGURE) \ --with-newlib \ --with-sysroot=$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev \ --enable-languages=c \ @@ -127,7 +127,7 @@ GCC_CONFIGURE_STAGE1:= \ --disable-threads \ GCC_CONFIGURE_STAGE2:= \ - $(GCC_CONFIGURE_COMMON) \ + $(GCC_CONFIGURE) \ --enable-languages=$(TARGET_LANGUAGES) \ --enable-shared \ --enable-threads \ |