Skip to content

Commit ce99c93

Browse files
authored
Merge pull request #353 from klemensn/out-of-tree-build
Use absoloute paths to linker scripts
2 parents 297abed + fd82dff commit ce99c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ no_rpath_SOURCES = no-rpath.c
137137
no_rpath_CFLAGS =
138138

139139
contiguous_note_sections_SOURCES = contiguous-note-sections.s contiguous-note-sections.ld
140-
contiguous_note_sections_LDFLAGS = -nostdlib -T contiguous-note-sections.ld
140+
contiguous_note_sections_LDFLAGS = -nostdlib -T $(srcdir)/contiguous-note-sections.ld
141141
contiguous_note_sections_CFLAGS = -pie
142142

143143
phdr_corruption_so_SOURCES = void.c phdr-corruption.ld
144-
phdr_corruption_so_LDFLAGS = -nostdlib -shared -Wl,-Tphdr-corruption.ld
144+
phdr_corruption_so_LDFLAGS = -nostdlib -shared -Wl,-T$(srcdir)/phdr-corruption.ld
145145
phdr_corruption_so_CFLAGS =

0 commit comments

Comments
 (0)