diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-14 19:05:27 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-14 19:05:27 +0000 |
commit | 0f92b0198868ac15fa6d3ece5acabe2d8d427072 (patch) | |
tree | 985af5da30acf4ae1b3d6528921e16d2483fbb2f /make | |
parent | 7138a960444736d63d386dbd8502028cad5f9633 (diff) | |
download | buildroot-novena-0f92b0198868ac15fa6d3ece5acabe2d8d427072.tar.gz buildroot-novena-0f92b0198868ac15fa6d3ece5acabe2d8d427072.zip |
Oops... forgot --with-headers when building the cross compilers. So the
version of limits.h under gcc-lib was incorrect.
Diffstat (limited to 'make')
-rw-r--r-- | make/gcc-uclibc-2.95.mk | 4 | ||||
-rw-r--r-- | make/gcc-uclibc-3.3.mk | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/make/gcc-uclibc-2.95.mk b/make/gcc-uclibc-2.95.mk index 1feb98bf3..c9f1b92da 100644 --- a/make/gcc-uclibc-2.95.mk +++ b/make/gcc-uclibc-2.95.mk @@ -75,6 +75,8 @@ $(GCC_DIR)/.patched: $(GCC_DIR)/.unpacked # # the step or libgcc will not build... $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched mkdir -p $(GCC_BUILD_DIR1) + -mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include + -(cd $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) ; ln -sf include sys-include) (cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ @@ -84,6 +86,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched --enable-languages=c \ --disable-shared \ --includedir=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include \ + --with-headers \ --disable-__cxa_atexit \ --enable-target-optspace \ --with-gnu-ld \ @@ -164,6 +167,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/$(REAL_GNU_TAR --enable-languages=$(TARGET_LANGUAGES) \ --enable-shared \ --with-gxx-include-dir=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include/c++ \ + --with-headers \ --disable-__cxa_atexit \ --enable-target-optspace \ --with-gnu-ld \ diff --git a/make/gcc-uclibc-3.3.mk b/make/gcc-uclibc-3.3.mk index 1946a6376..8d2d20db2 100644 --- a/make/gcc-uclibc-3.3.mk +++ b/make/gcc-uclibc-3.3.mk @@ -75,6 +75,8 @@ endif # # the step or libgcc will not build... $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched mkdir -p $(GCC_BUILD_DIR1) + -mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include + -(cd $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) ; ln -sf include sys-include) (cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ @@ -84,6 +86,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched --enable-languages=c \ --disable-shared \ --includedir=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include \ + --with-headers \ --disable-__cxa_atexit \ --enable-target-optspace \ --with-gnu-ld \ @@ -129,6 +132,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/$(REAL_GNU_TAR --enable-languages=$(TARGET_LANGUAGES) \ --enable-shared \ --with-gxx-include-dir=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/include/c++ \ + --with-headers \ --disable-__cxa_atexit \ --enable-target-optspace \ --with-gnu-ld \ |