diff options
author | Thomas Schwinge <schwinge@nic-nac-project.de> | 2007-11-16 07:01:19 -0500 |
---|---|---|
committer | Thomas Schwinge <schwinge@nic-nac-project.de> | 2007-11-16 07:01:19 -0500 |
commit | c198e20928106b2bab40bcb67ff147e6f89e2bf6 (patch) | |
tree | 2b0fbf206422f0b890220c4c9c0763cbc49929ec | |
parent | 7687c304987492cf51ecb46e192738732feb5bfc (diff) |
Remove the ``-z relro'' and ``--without-tls'' hacks.
-rwxr-xr-x | cross-gnu | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -241,18 +241,13 @@ if test -h "$SYS_ROOT"/lib/ld.so; then :; else cd "$GLIBC_SRC".obj && if ./config.status > /dev/null 2>&1; then :; else # `--build' has to be set to make sure that glibc is cross compiled. - # TODO: Unless overridden, the build system is forced to think that the - # linker doesn't support the `-z relro' flag, because there are unfixed - # bugs in glibc w.r.t. that flag. Likewise for `--without-tls'. "$GLIBC_SRC"/configure \ --without-cvs \ --build="$("$GLIBC_SRC"/scripts/config.guess)" \ --host="$TARGET" \ --prefix= \ --with-headers="$SYS_ROOT"/include \ - --disable-profile \ - ${CROSS_GNU_TLS---without-tls} \ - ${CROSS_GNU_Z_RELRO-libc_cv_z_relro=no} + --disable-profile fi && if "$MAKE" \ install_root="$SYS_ROOT" \ @@ -321,18 +316,13 @@ mkdir -p "$GLIBC_SRC".obj && cd "$GLIBC_SRC".obj && if ./config.status > /dev/null 2>&1; then :; else # `--build' has to be set to make sure that glibc is cross compiled. - # TODO: Unless overridden, the build system is forced to think that the - # linker doesn't support the `-z relro' flag, because there are unfixed - # bugs in glibc w.r.t. that flag. Likewise for `--without-tls'. "$GLIBC_SRC"/configure \ --without-cvs \ --build="$("$GLIBC_SRC"/scripts/config.guess)" \ --host="$TARGET" \ --prefix= \ --with-headers="$SYS_ROOT"/include \ - --disable-profile \ - ${CROSS_GNU_TLS---without-tls} \ - ${CROSS_GNU_Z_RELRO-libc_cv_z_relro=no} + --disable-profile fi && "$MAKE" \ install_root="$SYS_ROOT" \ |