From c498ec163e2b24200493437dd7eaf4f356b84f99 Mon Sep 17 00:00:00 2001 From: jorun Date: Mon, 29 Nov 2021 08:27:56 +0100 Subject: [PATCH] unset LDFLAGS before calling cmake in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 281f4bfd..f126b8f0 100644 --- a/Makefile +++ b/Makefile @@ -177,7 +177,7 @@ tools: $(GFX) $(GFX) $(AIF) $(MID) $(SCANINC) $(PREPROC) $(FIX) $(ASSET_PROCESSOR) tools/bin/agb2mid tools/bin/tmc_strings tools/bin/bin2c &: mkdir -p tools/cmake-build - unset CC CXX AS LD && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=tools -S tools -B tools/cmake-build + unset CC CXX AS LD LDFLAGS && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=tools -S tools -B tools/cmake-build cmake --build tools/cmake-build -j cmake --install tools/cmake-build