aboutsummaryrefslogtreecommitdiff
path: root/libgcc/fixed-obj.mk
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2012-08-23 15:41:03 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2012-08-23 15:41:03 +0000
commita147b6d28fa9db1c7533d53e19837009f3f7fd05 (patch)
tree50b0cf22878d9d6382e639f49b548bfc86a5d7b8 /libgcc/fixed-obj.mk
parentc583af79c0295886c0d4f951aba8ae864518d40d (diff)
downloadgcc-a147b6d28fa9db1c7533d53e19837009f3f7fd05.zip
gcc-a147b6d28fa9db1c7533d53e19837009f3f7fd05.tar.gz
gcc-a147b6d28fa9db1c7533d53e19837009f3f7fd05.tar.bz2
Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects.
* Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects. * fixed-obj.mk: Only expand dependency if $o is not in LIB2FUNCS_EXCLUDE. From-SVN: r190624
Diffstat (limited to 'libgcc/fixed-obj.mk')
-rw-r--r--libgcc/fixed-obj.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/fixed-obj.mk b/libgcc/fixed-obj.mk
index ac699d2..4db7a57 100644
--- a/libgcc/fixed-obj.mk
+++ b/libgcc/fixed-obj.mk
@@ -22,6 +22,7 @@ endif
#$(info $o$(objext): -DL$($o-label) $($o-opt))
+ifneq ($o,$(filter $o,$(LIB2FUNCS_EXCLUDE)))
$o$(objext): %$(objext): $(srcdir)/fixed-bit.c
$(gcc_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c $(vis_hide)
@@ -29,3 +30,4 @@ ifeq ($(enable_shared),yes)
$(o)_s$(objext): %_s$(objext): $(srcdir)/fixed-bit.c
$(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c
endif
+endif