~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to stdlib/Makefile

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1991-2009, 2011, 2012 Free Software Foundation, Inc.
 
1
# Copyright (C) 1991-2012 Free Software Foundation, Inc.
2
2
# This file is part of the GNU C Library.
3
3
 
4
4
# The GNU C Library is free software; you can redistribute it and/or
22
22
 
23
23
subdir  := stdlib
24
24
 
25
 
headers := stdlib.h bits/stdlib.h bits/stdlib-ldbl.h                          \
 
25
headers := stdlib.h bits/stdlib.h bits/stdlib-ldbl.h bits/stdlib-float.h      \
26
26
           monetary.h bits/monetary-ldbl.h                                    \
27
27
           inttypes.h stdint.h bits/wordsize.h                                \
28
28
           errno.h sys/errno.h bits/errno.h                                   \
78
78
                   tst-atof1 tst-atof2 tst-strtod2 tst-rand48-2             \
79
79
                   tst-makecontext tst-qsort2 tst-makecontext2 tst-strtod6  \
80
80
                   tst-unsetenv1 tst-makecontext3 bug-getcontext bug-fmtmsg1 \
81
 
                   tst-strtod-overflow
 
81
                   tst-secure-getenv tst-strtod-overflow tst-strtod-round   \
 
82
                   tst-tininess tst-strtod-underflow
 
83
tests-static    := tst-secure-getenv
82
84
tests-$(OPTION_EGLIBC_LOCALE_CODE) \
83
85
                += tst-strtod3 tst-strtod4 tst-strtod5 testmb2
84
86
tests-$(OPTION_POSIX_C_LANG_WIDE_CHAR) \
111
113
CFLAGS-system.os = -fomit-frame-pointer
112
114
CFLAGS-fmtmsg.c = -fexceptions
113
115
 
114
 
ifneq (,$(filter %REENTRANT, $(defines)))
115
 
CFLAGS-strfmon.c = -D_IO_MTSAFE_IO
116
 
CFLAGS-strfmon_l.c = -D_IO_MTSAFE_IO
117
 
endif
 
116
CFLAGS-strfmon.c = $(libio-mtsafe)
 
117
CFLAGS-strfmon_l.c = $(libio-mtsafe)
118
118
 
119
119
CFLAGS-tst-bsearch.c = $(stack-align-test-flags)
120
120
CFLAGS-tst-qsort.c = $(stack-align-test-flags)
135
135
# Run a test on the header files we use.
136
136
tests: $(objpfx)isomac.out
137
137
 
138
 
# eglibc: ifeq (no,$(cross-compiling))
 
138
ifeq ($(run-built-tests),yes)
139
139
ifeq (y,$(OPTION_EGLIBC_FMTMSG))
140
140
tests: $(objpfx)tst-fmtmsg.out
141
141
endif
142
 
# eglibc: endif
 
142
endif
143
143
 
144
144
$(objpfx)isomac.out: $(objpfx)isomac
145
145
        $(dir $<)$(notdir $<) '$(CC)'  \
150
150
        $(native-compile)
151
151
 
152
152
$(objpfx)tst-fmtmsg.out: tst-fmtmsg.sh $(objpfx)tst-fmtmsg
153
 
        $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)stdlib/
 
153
        $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)stdlib/
154
154
 
155
155
$(objpfx)tst-putenv: $(objpfx)tst-putenvmod.so
156
156
LDFLAGS-tst-putenv = $(no-as-needed)
165
165
link-libm = $(common-objpfx)math/libm.a
166
166
endif
167
167
$(objpfx)bug-getcontext: $(link-libm)
 
168
$(objpfx)tst-strtod-round: $(link-libm)
 
169
$(objpfx)tst-tininess: $(link-libm)
 
170
$(objpfx)tst-strtod-underflow: $(link-libm)