diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-06-21 14:26:13 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-06-21 14:26:13 +0000 |
commit | e4d48a4dd55f96d6f7bb11b4efcc1ee7d8af0147 (patch) | |
tree | 50a9b59a37f6d0c1df4c86ca7ec9769048e8a979 /libgcc | |
parent | 3801c801f35ca5e0c52b437161141c251aa33daf (diff) | |
download | gcc-e4d48a4dd55f96d6f7bb11b4efcc1ee7d8af0147.zip gcc-e4d48a4dd55f96d6f7bb11b4efcc1ee7d8af0147.tar.gz gcc-e4d48a4dd55f96d6f7bb11b4efcc1ee7d8af0147.tar.bz2 |
shared-object.mk (c_flags-$o): Save c_flags.
* shared-object.mk (c_flags-$o): Save c_flags.
($(base)$(objext)): Use it.
($(base)_s$(objext)): Likewise.
From-SVN: r175262
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/shared-object.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 08d8ef9..fa9245d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * shared-object.mk (c_flags-$o): Save c_flags. + ($(base)$(objext)): Use it. + ($(base)_s$(objext)): Likewise. + 2011-06-21 Bernd Schmidt <bernds@codesourcery.com> * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2. diff --git a/libgcc/shared-object.mk b/libgcc/shared-object.mk index 65171b6..d9ee922 100644 --- a/libgcc/shared-object.mk +++ b/libgcc/shared-object.mk @@ -6,13 +6,15 @@ iter-items := $(filter-out $o,$(iter-items)) base := $(basename $(notdir $o)) +c_flags-$o := $(c_flags) + ifeq ($(suffix $o),.c) $(base)$(objext): $o - $(gcc_compile) $(c_flags) -c $< $(vis_hide) + $(gcc_compile) $(c_flags-$<) -c $< $(vis_hide) $(base)_s$(objext): $o - $(gcc_s_compile) $(c_flags) -c $< + $(gcc_s_compile) $(c_flags-$<) -c $< else |