mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Update build.yml to fix warnings during macOS CI build
This will close issue https://github.com/avrdudes/avrdude/issues/2088.
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -250,8 +250,8 @@ jobs:
|
|||||||
- name: Configure
|
- name: Configure
|
||||||
run: >-
|
run: >-
|
||||||
cmake
|
cmake
|
||||||
-D CMAKE_C_FLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/flex/include"
|
-D CMAKE_C_FLAGS="-I/opt/homebrew/include"
|
||||||
-D CMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar -L/opt/homebew/opt/flex/lib"
|
-D CMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar"
|
||||||
-D DEBUG_CMAKE=1
|
-D DEBUG_CMAKE=1
|
||||||
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
-B build
|
-B build
|
||||||
@@ -314,8 +314,8 @@ jobs:
|
|||||||
|
|
||||||
mkdir _ambuild && cd _ambuild
|
mkdir _ambuild && cd _ambuild
|
||||||
|
|
||||||
CFLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/flex/include"
|
CFLAGS="-I/opt/homebrew/include"
|
||||||
LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/bison/lib"
|
LDFLAGS="-L/opt/homebrew/lib"
|
||||||
../src/configure
|
../src/configure
|
||||||
--enable-option-checking=fatal
|
--enable-option-checking=fatal
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user