aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-19 12:41:15 -0800
committerStan Shebs <stanshebs@google.com>2018-01-19 12:41:15 -0800
commitd555ce07f4d2a8dc65391caba55c3e72f0de754d (patch)
tree0af4fc0d1c47b78979813a3476a8a7f8513b884a /Makerules
parentf555d1a9b769e1cef90e025367d90112f6361c04 (diff)
downloadglibc-d555ce07f4d2a8dc65391caba55c3e72f0de754d.zip
glibc-d555ce07f4d2a8dc65391caba55c3e72f0de754d.tar.gz
glibc-d555ce07f4d2a8dc65391caba55c3e72f0de754d.tar.bz2
Add --with-clang and --disable-float128 options to toplevel configury
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index ef6abea..3514719 100644
--- a/Makerules
+++ b/Makerules
@@ -653,7 +653,7 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
common-generated += shlib.lds
shlib-lds = $(common-objpfx)shlib.lds
-shlib-lds-flags = -T $(shlib-lds)
+shlib-lds-flags = -Wl,-T,$(shlib-lds)
endif
define build-shlib
@@ -705,7 +705,7 @@ LDFLAGS-c.so = -nostdlib -nostartfiles
# But we still want to link libc.so against $(libc.so-gnulib).
LDLIBS-c.so += $(libc.so-gnulib)
# Give libc.so an entry point and make it directly runnable itself.
-LDFLAGS-c.so += -e __libc_main
+LDFLAGS-c.so += -Wl,-e,__libc_main
# Pre-link the objects of libc_pic.a so that we can locally resolve
# COMMON symbols before we link against ld.so. This is because ld.so
# contains some of libc_pic.a already, which will prevent the COMMONs