aboutsummaryrefslogtreecommitdiff
path: root/csu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'csu/Makefile')
-rw-r--r--csu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 1fb2e8f96b..9937a9186d 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -85,6 +85,8 @@ $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions
+vpath initfini.c $(full_config_sysdirs)
+
$(objpfx)initfini.s: initfini.c
$(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
$(patsubst -f%,-fno-%,$(exceptions)) -o $@