diff mbox

Remove CFLAGS for interp.c

Message ID mvm8uffv45h.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab March 2, 2015, 2:56 p.m. UTC
* elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
	variable name.

Comments

Marcus Shawcroft Oct. 28, 2015, 2:31 p.m. UTC | #1
On 2 March 2015 at 14:56, Andreas Schwab <schwab@suse.de> wrote:
>         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
>         variable name.
>
> diff --git a/elf/Makefile b/elf/Makefile
> index 20b1682..711beed 100644
> --- a/elf/Makefile
> +++ b/elf/Makefile
> @@ -362,7 +362,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h
>
>  $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @:
>  $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make
> -       $(name-target-directory)
> +       $(make-target-directory)
>         echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \
>                 > ${@:st=T}
>         $(move-if-change) ${@:st=T} ${@:st=h}

This fix was not  back ported to the 2.21 release branch, which
explains occasional build failures I've been seeing. The patch applies
cleanly, committed.

Cheers
/Marcus
diff mbox

Patch

diff --git a/elf/Makefile b/elf/Makefile
index 20b1682..711beed 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -362,7 +362,7 @@  $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h
 
 $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @:
 $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make
-	$(name-target-directory)
+	$(make-target-directory)
 	echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \
 		> ${@:st=T}
 	$(move-if-change) ${@:st=T} ${@:st=h}