diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-12-06 22:12:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-12-06 22:12:15 +0000 |
commit | 92834c567469ecb5e10aae60de0984960db60b01 (patch) | |
tree | 24666157e28d03a01d5d03f359931351dce6d0b5 /toolchain/gcc/gcc-uclibc-3.x.mk | |
parent | b2dcdf3218434233499765b25e215a933f9dbf1c (diff) | |
download | buildroot-novena-92834c567469ecb5e10aae60de0984960db60b01.tar.gz buildroot-novena-92834c567469ecb5e10aae60de0984960db60b01.zip |
- import gcc-4.2.0
libmudflap is disabled for now.
copied from 4.1.0 with slight adjustments
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-3.x.mk')
-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 bc5c5b33d..6ac9b1a95 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -52,6 +52,10 @@ ifeq ($(BR2_INSTALL_OBJC),y) TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc endif +ifeq ($(BR2_INSTALL_FORTRAN),y) +TARGET_LANGUAGES:=$(TARGET_LANGUAGES),fortran +endif + ############################################################# # # build the first pass gcc compiler @@ -92,9 +96,12 @@ endif endif touch $(GCC_DIR)/.patched +ifeq ("$(GCC_VERSION)","4.2.0") +EXTRA_GCC_CONFIG_OPTIONS+= --disable-libmudflap +endif # The --without-headers option stopped working with gcc 3.0 and has never been -# # fixed, so we need to actually have working C library header files prior to -# # the step or libgcc will not build... +# fixed, so we need to actually have working C library header files prior to +# the step or libgcc will not build... $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched mkdir -p $(GCC_BUILD_DIR1) @@ -311,6 +318,9 @@ endif ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.) GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION) endif +ifeq ($(findstring 4.2.,$(GCC_VERSION)),4.2.) +GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION) +endif $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled PATH=$(TARGET_PATH) \ @@ -341,8 +351,8 @@ endif #rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ # $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc # Work around problem of missing syslimits.h - @if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/syslimits.h ] ; then \ - echo "warning: working around missing syslimits.h" ; \ + if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/syslimits.h ] ; then \ + @echo "warning: working around missing syslimits.h" ; \ cp -f $(STAGING_DIR)/$(GCC_LIB_SUBDIR)/include/syslimits.h \ $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/ ; \ fi |