diff --git a/ChangeLog b/ChangeLog index b8ba4095bc..1e22a45c47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-04-24 Joseph Myers + + * Makerules (native-compile): Do not change working directory for + build. Use $(OUTPUT_OPTION) in command. + (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h. + 2012-04-24 Adhemerval Zanella [BZ #13886] 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 $(