OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / libgcc / shared-object.mk
index 65171b6..d9ee922 100644 (file)
@@ -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