diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-29 13:38:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-29 13:38:01 +0200 |
commit | 57d1691987a1f85375b9de5ab21b7c5c8e11afc2 (patch) | |
tree | d1ea120ba61a1afb78d6d1358de84f80c8e51a81 /toolchain/glibc/Makefile | |
parent | 8e09105ecbddd319a54dccaaf1e9f277bc44dfb4 (diff) | |
parent | 7047a0b2b2d18d51594cad92d5356bd626da063d (diff) |
Merge branch 'lemote'
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r-- | toolchain/glibc/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index a819c65d9..19aee9952 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -24,14 +24,17 @@ $(WRKBUILD)/.headers_configure: $(WRKBUILD)/configure \ --prefix=/usr \ --build=$(GNU_HOST_NAME) \ - --host=$(GNU_HOST_NAME) \ - --target=$(REAL_GNU_TARGET_NAME) \ + --host=$(REAL_GNU_TARGET_NAME) \ --disable-nls \ --without-cvs \ + --with-__thread \ + --with-tls \ + --enable-add-ons \ + --enable-kernel="2.6.0" \ --disable-sanity-checks \ - ${GLIBC_CONFOPTS} \ --with-headers=$(TOOLCHAIN_SYSROOT)/usr/include \ --with-sysroot=$(TOOLCHAIN_SYSROOT) \ + ${GLIBC_CONFOPTS} \ ); touch $@ @@ -41,8 +44,7 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure install_root=$(TOOLCHAIN_SYSROOT) \ CFLAGS="-DBOOTSTRAP_GCC" install-headers touch $(TOOLCHAIN_SYSROOT)/usr/include/gnu/stubs.h - $(CP) $(GLIBC_BUILD_DIR)/bits/stdio_lim.h \ - $(TOOLCHAIN_SYSROOT)/usr/include/bits + touch $(TOOLCHAIN_SYSROOT)/usr/include/bits/stdio_lim.h touch $@ $(WRKBUILD)/.configure_done: @@ -57,9 +59,10 @@ $(WRKBUILD)/.configure_done: LD=${REAL_GNU_TARGET_NAME}-ld \ libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ + libc_cv_gnu99_inline=yes \ $(WRKBUILD)/configure \ --prefix=/usr \ - --build=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ --host=$(REAL_GNU_TARGET_NAME) \ --disable-nls \ --without-cvs \ @@ -68,11 +71,12 @@ $(WRKBUILD)/.configure_done: --without-gd \ --enable-shared \ --enable-stackguard-randomization \ - --enable-add-ons=nptl --with-__thread \ + --with-__thread \ --with-tls \ - --enable-tls \ - ${GLIBC_CONFOPTS} \ + --enable-add-ons \ + --enable-kernel=2.6.0 \ --with-headers=$(TOOLCHAIN_SYSROOT)/usr/include \ + ${GLIBC_CONFOPTS} \ ); touch $@ @@ -88,7 +92,6 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.installed: PATH='${TARGET_PATH}' \ - #CFLAGS="$(TARGET_CFLAGS_ARCH) $(TARGET_CFLAGS)" \ $(MAKE) -C $(GLIBC_BUILD_DIR2) \ install_root=$(STAGING_DIR) \ install-lib-all install-headers \ |