summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-01-15 10:44:48 +0100
committerAndreas Schwab <schwab@redhat.com>2010-01-15 10:51:34 +0100
commit2384b50e7d567cc26553443b6790b3062d405463 (patch)
treea5ed604cf90256b1fa8e075b98bb0c668d671b55 /Makeconfig
parente6073eebddb6c1c58d23175826515a3522c785da (diff)
parent5306d3613a3e71d8ede6529e858e2398223ac3da (diff)
Merge remote branch 'origin/master' into fedora/master
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makeconfig b/Makeconfig
index 2ebe184224..b6386283bd 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -549,11 +549,11 @@ endif
ifeq ($(elf),yes)
+preinit = $(addprefix $(csu-objpfx),crti.o)
+postinit = $(addprefix $(csu-objpfx),crtn.o)
-+prector = `$(CC) --print-file-name=crtbegin.o`
-+postctor = `$(CC) --print-file-name=crtend.o`
++prector = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbegin.o`
++postctor = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o`
# Variants of the two previous definitions for linking PIE programs.
-+prectorS = `$(CC) --print-file-name=crtbeginS.o`
-+postctorS = `$(CC) --print-file-name=crtendS.o`
++prectorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginS.o`
++postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o`
+interp = $(addprefix $(elf-objpfx),interp.os)
endif
csu-objpfx = $(common-objpfx)csu/