Commit e4d48a4d by Rainer Orth Committed by Rainer Orth

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
parent 3801c801
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment