]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - Makeconfig
* Makeconfig (static-start-installed-name): Set to
[thirdparty/glibc.git] / Makeconfig
index 3a5780aa5bb4feda9aaa589aed54641cebb74594..6ae27e9dc6b100c79675c873fde9b79f462f2b0b 100644 (file)
@@ -364,7 +364,11 @@ else
 # some additional bizarre files.
 start-installed-name = crt1.o
 endif
-
+# On systems that do not need a special startfile for statically linked
+# binaries, simply set it to the normal name.
+ifndef static-start-installed-name
+static-start-installed-name = $(start-installed-name)
+endif
 
 # Command for linking programs with the C library.
 ifndef +link
@@ -382,7 +386,7 @@ endif
 ifndef +link-static
 +link-static = $(CC) -nostdlib -nostartfiles -static -o $@ \
              $(sysdep-LDFLAGS) $(LDFLAGS)  \
-             $(addprefix $(csu-objpfx),$(start-installed-name)) \
+             $(addprefix $(csu-objpfx),$(static-start-installed-name)) \
              $(+preinit) $(+prector) \
              $(filter-out $(addprefix $(csu-objpfx),start.o \
                                                     $(start-installed-name))\