mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
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
This commit is contained in:
parent
3801c801f3
commit
e4d48a4dd5
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user