Message ID | yddtybs5un0.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
diff --git a/libgcc/shared-object.mk b/libgcc/shared-object.mk --- a/libgcc/shared-object.mk +++ b/libgcc/shared-object.mk @@ -6,13 +6,17 @@ iter-items := $(filter-out $o,$(iter-ite base := $(basename $(notdir $o)) +$o-opt := $(c_flags) + +#$(info $o: c_flags=$(c_flags) o-opt=$($(o)-opt)) + ifeq ($(suffix $o),.c) $(base)$(objext): $o - $(gcc_compile) $(c_flags) -c $< $(vis_hide) + $(gcc_compile) $($<-opt) -c $< $(vis_hide) $(base)_s$(objext): $o - $(gcc_s_compile) $(c_flags) -c $< + $(gcc_s_compile) $($<-opt) -c $< else