Pass $(sysdep-LDFLAGS) when using --print-file-name.
This commit is contained in:
parent
346bc35c33
commit
35e6599946
|
@ -1,3 +1,9 @@
|
||||||
|
2010-01-14 Ryan S. Arnold <rsa@us.ibm.com>
|
||||||
|
|
||||||
|
* Makeconfig (+prector, +postctor, +prectorS, +postctorS): Add
|
||||||
|
$(sysdep-LDFLAGS) to pre and post ctors so that the proper .o
|
||||||
|
files are found by GCC.
|
||||||
|
|
||||||
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
[BZ #11126]
|
[BZ #11126]
|
||||||
|
|
|
@ -549,11 +549,11 @@ endif
|
||||||
ifeq ($(elf),yes)
|
ifeq ($(elf),yes)
|
||||||
+preinit = $(addprefix $(csu-objpfx),crti.o)
|
+preinit = $(addprefix $(csu-objpfx),crti.o)
|
||||||
+postinit = $(addprefix $(csu-objpfx),crtn.o)
|
+postinit = $(addprefix $(csu-objpfx),crtn.o)
|
||||||
+prector = `$(CC) --print-file-name=crtbegin.o`
|
+prector = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbegin.o`
|
||||||
+postctor = `$(CC) --print-file-name=crtend.o`
|
+postctor = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o`
|
||||||
# Variants of the two previous definitions for linking PIE programs.
|
# Variants of the two previous definitions for linking PIE programs.
|
||||||
+prectorS = `$(CC) --print-file-name=crtbeginS.o`
|
+prectorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginS.o`
|
||||||
+postctorS = `$(CC) --print-file-name=crtendS.o`
|
+postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o`
|
||||||
+interp = $(addprefix $(elf-objpfx),interp.os)
|
+interp = $(addprefix $(elf-objpfx),interp.os)
|
||||||
endif
|
endif
|
||||||
csu-objpfx = $(common-objpfx)csu/
|
csu-objpfx = $(common-objpfx)csu/
|
||||||
|
|
Loading…
Reference in New Issue