aboutsummaryrefslogtreecommitdiff
path: root/math/Makefile
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 /math/Makefile
parent121766a9d6295d1b3f33b2171c3ad234615627c3 (diff)
downloadglibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.tar
glibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.tar.gz
glibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.tar.bz2
glibc-2119dcfaccfa6fabf9e6be15f6d97ad041252ac9.zip
Static linking is always needed
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/math/Makefile b/math/Makefile
index 41340da1bd..28195505ce 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2006,2011 Free Software Foundation, Inc.
+# Copyright (C) 1996-2006,2011,2012 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -199,12 +199,7 @@ ifeq ($(build-bounded),yes)
$(tests:%=$(objpfx)%-bp): $(objpfx)libm_b.a
endif
-ifeq ($(build-static),yes)
-o = .o
-else
-o = .os
-endif
-gmp-objs = $(patsubst %,$(common-objpfx)stdlib/%$o,\
+gmp-objs = $(patsubst %,$(common-objpfx)stdlib/%.o,\
add_n sub_n cmp addmul_1 mul_1 mul_n divmod_1 \
lshift rshift mp_clz_tab udiv_qrnnd inlines)
$(objpfx)atest-exp: $(gmp-objs)