summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <schwinge@nic-nac-project.de>2007-11-16 07:01:19 -0500
committerThomas Schwinge <schwinge@nic-nac-project.de>2007-11-16 07:01:19 -0500
commitc198e20928106b2bab40bcb67ff147e6f89e2bf6 (patch)
tree2b0fbf206422f0b890220c4c9c0763cbc49929ec
parent7687c304987492cf51ecb46e192738732feb5bfc (diff)
Remove the ``-z relro'' and ``--without-tls'' hacks.
-rwxr-xr-xcross-gnu14
1 files changed, 2 insertions, 12 deletions
diff --git a/cross-gnu b/cross-gnu
index 12aa5015a..796c38289 100755
--- a/cross-gnu
+++ b/cross-gnu
@@ -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" \