unset LDFLAGS before calling cmake in Makefile

This commit is contained in:
jorun 2021-11-29 08:27:56 +01:00
parent 25c9367d17
commit c498ec163e
No known key found for this signature in database
GPG Key ID: 730E05D27A4D5F02
1 changed files with 1 additions and 1 deletions

View File

@ -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