From c1820385dfe63bdddad462a3384267614c043415 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 24 Apr 2012 20:05:34 +0000 Subject: Make $(native-compile) run in source directory like other compilation commands. --- Makerules | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index d184be6d20..a9b178608c 100644 --- a/Makerules +++ b/Makerules @@ -1114,17 +1114,15 @@ install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ endif install: install-no-libc.a-nosubdir -# Command to compile $< in $(objdir) using the native libraries. +# Command to compile $< using the native libraries. define native-compile $(make-target-directory) -$(patsubst %/,cd % &&,$(objpfx)) \ $(BUILD_CC) $($(basename $(