mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 11:20:10 +00:00
Generalize %.v.i rule a bit.
This commit is contained in:
parent
45f058844c
commit
7e80ddb824
@ -1,3 +1,9 @@
|
|||||||
|
2013-02-26 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* Makeconfig (%.v.i, %.v): Move these pattern rules outside of
|
||||||
|
[$(build-shared = yes].
|
||||||
|
(%.v.i): Filter out %.def prerequisites too.
|
||||||
|
|
||||||
2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
|
* sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
|
||||||
|
@ -868,8 +868,6 @@ subdirs = $(sorted-subdirs)
|
|||||||
subdir-srcdirs = $(foreach dir,$(subdirs),\
|
subdir-srcdirs = $(foreach dir,$(subdirs),\
|
||||||
$(firstword $($(dir)-srcdir) $(..)$(dir)))
|
$(firstword $($(dir)-srcdir) $(..)$(dir)))
|
||||||
|
|
||||||
ifeq (yes, $(build-shared))
|
|
||||||
|
|
||||||
# This is a pair of implicit rules to preprocess a file with # comments,
|
# This is a pair of implicit rules to preprocess a file with # comments,
|
||||||
# %ifdef et al, based on config.h settings or other %include'd files.
|
# %ifdef et al, based on config.h settings or other %include'd files.
|
||||||
# We use chained rules instead of a pipeline here so that we can properly
|
# We use chained rules instead of a pipeline here so that we can properly
|
||||||
@ -880,7 +878,7 @@ ifeq (yes, $(build-shared))
|
|||||||
# (but no commands).
|
# (but no commands).
|
||||||
%.v.i: $(common-objpfx)config.h $(..)Makeconfig
|
%.v.i: $(common-objpfx)config.h $(..)Makeconfig
|
||||||
sed '/^[ ]*%/!s/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
|
sed '/^[ ]*%/!s/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
|
||||||
$(filter-out FORCE %.h $(..)Makeconfig,$^) \
|
$(filter-out FORCE %.h %.def $(..)Makeconfig,$^) \
|
||||||
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
||||||
> $@T
|
> $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
@ -888,6 +886,8 @@ ifeq (yes, $(build-shared))
|
|||||||
sed '/^[ ]*#/d;/^[ ]*$$/d' $< > $@T
|
sed '/^[ ]*#/d;/^[ ]*$$/d' $< > $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
|
|
||||||
|
ifeq (yes, $(build-shared))
|
||||||
|
|
||||||
# To generate a header to support more than one ABI for different
|
# To generate a header to support more than one ABI for different
|
||||||
# architecture variants, the CPU/Makefile defines abi-variants to be a
|
# architecture variants, the CPU/Makefile defines abi-variants to be a
|
||||||
# list of names for those variants (e.g. 32 64), and, for each variant,
|
# list of names for those variants (e.g. 32 64), and, for each variant,
|
||||||
|
Loading…
Reference in New Issue
Block a user