From a30c4bab21d53ceefa0d4b70182d62134796ae6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Mon, 22 Jul 2019 15:25:59 +0200 Subject: [PATCH] Only set flags for cross, breaks native build Need all the auto-detected CPU flags to be set --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.2