aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 09:52:29 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 09:52:29 -0500
commit2119dcfaccfa6fabf9e6be15f6d97ad041252ac9 (patch)
tree59aeb0bf04e9720306dcceb56074697c24116da0 /Makeconfig
parent121766a9d6295d1b3f33b2171c3ad234615627c3 (diff)
downloadglibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.zip
glibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.tar.gz
glibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.tar.bz2
Static linking is always needed
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makeconfig b/Makeconfig
index fb7468f..2db2821 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -535,14 +535,7 @@ link-extra-libs-bounded = $(link-extra-libs)
endif
# The static libraries.
-ifeq (yes,$(build-static))
link-libc-static = -Wl,--start-group $(common-objpfx)libc.a $(static-gnulib) -Wl,--end-group
-else
-ifeq (yes,$(build-shared))
-# We can try to link the programs with lib*_pic.a...
-link-libc-static = $(static-gnulib) $(common-objpfx)libc_pic.a
-endif
-endif
link-libc-bounded = $(common-objpfx)libc_b.a $(gnulib) $(common-objpfx)libc_b.a
ifndef gnulib
@@ -721,10 +714,8 @@ all-object-suffixes := .o .os .op .og .ob .oS
object-suffixes :=
CPPFLAGS-.o = $(pic-default)
CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
-ifeq (yes,$(build-static))
libtype.o := lib%.a
object-suffixes += .o
-endif
ifeq (yes,$(build-shared))
# Under --enable-shared, we will build a shared library of PIC objects.
# The PIC object files are named foo.os.