about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
Diffstat (limited to 'csu')
-rw-r--r--csu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 1c9ebb1003..8388032e1d 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -32,7 +32,9 @@ csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o)
 extra-objs = start.o gmon-start.o \
 	     $(start-installed-name) g$(start-installed-name) \
 	     $(csu-dummies)
+ifeq ($(elf),yes)
 before-compile = $(objpfx)abi-tag.h
+endif
 omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
 		             $(csu-dummies))
 install-lib = $(start-installed-name) g$(start-installed-name) \