From 01ed17bd5c6d25a5bf5ff72e121c3921fa684322 Mon Sep 17 00:00:00 2001 From: mcuee Date: Thu, 24 Nov 2022 13:22:12 +0800 Subject: [PATCH] Disable GNU Readline for MSVC build This is to work around the issue of finding the wrong libreadline.a from Strawberry Perl for Windows MSVC github action. Reference: https://github.com/avrdudes/avrdude/pull/1194#issuecomment-1325824150 --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbe23e64..851942ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -215,6 +215,7 @@ jobs: -D CMAKE_C_FLAGS_RELWITHDEBINFO="/MT /GL /Zi /O2 /Ob1 /DNDEBUG" -D CMAKE_CXX_FLAGS_RELWITHDEBINFO="/MT /GL /Zi /O2 /Ob1 /DNDEBUG" -D CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO="/DEBUG /INCREMENTAL:NO /LTCG /OPT:REF /OPT:ICF" + -D HAVE_LIBREADLINE=HAVE_LIBREADLINE-NOTFOUND -D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D USE_EXTERNAL=1 -B build