From: Anders F Björklund Date: Mon, 22 Jul 2019 13:25:59 +0000 (+0200) Subject: Only set flags for cross, breaks native build X-Git-Tag: v4.0~869 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a30c4bab21d53ceefa0d4b70182d62134796ae6a;p=thirdparty%2Fccache.git Only set flags for cross, breaks native build Need all the auto-detected CPU flags to be set --- diff --git a/Makefile.in b/Makefile.in index fc98dc69d..0f7ed0976 100644 --- a/Makefile.in +++ b/Makefile.in @@ -144,7 +144,8 @@ libb2_options = \ src/third_party/libb2/src/.libs/libb2.a: cd src/third_party/libb2 && ./configure ${libb2_options} CC="$(CC)" - $(MAKE) -C src/third_party/libb2 CC="$(CC)" CFLAGS="$(CFLAGS)" + $(MAKE) -C src/third_party/libb2 CC="$(CC)" \ +@disable_cross@ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" .PHONY: performance performance: ccache$(EXEEXT)