File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - run : ' $GITHUB_ACTION_PATH/install-dependencies.sh "${{ inputs.os }}" "${{ inputs.build-system }}"'
1717 if : (!startsWith(inputs.os, 'windows'))
1818 shell : bash
19+ env :
20+ CC : clang
21+ CXX : clang++
1922
2023 - uses : msys2/setup-msys2@v2
2124 if : startsWith(inputs.os, 'windows')
Original file line number Diff line number Diff line change 1919 - run : ' $GITHUB_ACTION_PATH/run-action.sh "${{ inputs.action }}" "${{ inputs.os }}" "${{ inputs.build-system }}"'
2020 if : (!startsWith(inputs.os, 'windows'))
2121 shell : bash
22+ env :
23+ CC : clang
24+ CXX : clang++
2225
2326 - run : ' $GITHUB_ACTION_PATH/run-action.sh "${{ inputs.action }}" "${{ inputs.os }}" "${{ inputs.build-system }}"'
2427 if : startsWith(inputs.os, 'windows')
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ case "$action" in
4747 if [ " $build_system " = ' meson' ]; then
4848 meson setup build -D qt5=true -D gtk=false -D mac-media-keys=true
4949 else
50- ./autogen.sh && ./configure --enable-qt5 --disable-gtk --enable-mac-media-keys
50+ autoreconf -I " /usr/local/share/gettext/m4 " && ./configure --enable-qt5 --disable-gtk --enable-mac-media-keys
5151 fi
5252 ;;
5353
@@ -58,7 +58,13 @@ case "$action" in
5858 if [ " $build_system " = ' meson' ]; then
5959 meson setup build -D gtk=false -D mac-media-keys=true
6060 else
61- ./autogen.sh && ./configure --disable-gtk --enable-mac-media-keys
61+ brew remove gcc@12
62+ brew remove gcc@13
63+ brew remove gcc@14
64+
65+ export LDFLAGS=" -L/opt/homebrew/opt/libiconv/lib"
66+ export CPPFLAGS=" -I/opt/homebrew/opt/libiconv/include"
67+ autoreconf -I " /opt/homebrew/opt/gettext/share/gettext/m4" && ./configure --disable-gtk --enable-mac-media-keys
6268 fi
6369 ;;
6470
Original file line number Diff line number Diff line change 1010 build :
1111 strategy :
1212 matrix :
13- os : [ubuntu-22.04, ubuntu-24.04,
14- macos-13, macos-15,
15- windows-2022]
16- build-system : [autotools, meson]
17- exclude :
18- - os : macos-15
19- build-system : autotools
13+ os : [macos-15]
14+ build-system : [autotools]
2015 fail-fast : false
2116 runs-on : ${{ matrix.os }}
2217
Original file line number Diff line number Diff line change @@ -101,13 +101,7 @@ AC_REQUIRE([AC_SYS_LARGEFILE])
101101
102102if test "x$GCC" = "xyes"; then
103103 CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe"
104- CXXFLAGS="$CXXFLAGS -ffast-math -Wall -pipe"
105-
106- # use C++17 if possible (Qt 6 requires it)
107- AUD_CHECK_CXXFLAGS(-std=gnu++17)
108- if test "${CXXFLAGS%gnu++17}" = "$CXXFLAGS" ; then
109- CXXFLAGS="$CXXFLAGS -std=gnu++11"
110- fi
104+ CXXFLAGS="$CXXFLAGS -std=gnu++17 -ffast-math -Wall -pipe"
111105
112106 AUD_CHECK_CFLAGS(-Wtype-limits)
113107 AUD_CHECK_CFLAGS(-Wno-stringop-truncation)
You can’t perform that action at this time.
0 commit comments