diff options
Diffstat (limited to 'libgcc/static-object.mk')
-rw-r--r-- | libgcc/static-object.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libgcc/static-object.mk b/libgcc/static-object.mk index 930f009cd42..4f536369f0d 100644 --- a/libgcc/static-object.mk +++ b/libgcc/static-object.mk @@ -24,7 +24,13 @@ $(error Unsupported file type: $o) endif endif -$(base)$(objext): $o - $(gcc_compile) -c -xassembler-with-cpp $< +$(base)$(objext): $o $(base).vis + $(gcc_compile) -c -xassembler-with-cpp -include $*.vis $< + +$(base).vis: $(base)_s$(objext) + $(gen-hide-list) + +$(base)_s$(objext): $o + $(gcc_s_compile) -c -xassembler-with-cpp $< endif |