Skip to content

Commit

Permalink
Work around gtest issue on mono/libgdiplus#737
Browse files Browse the repository at this point in the history
  • Loading branch information
xkszltl committed Apr 14, 2022
1 parent cfafaa0 commit 647a340
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/libgdiplus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@

export CC="ccache $CC" CXX="ccache $CXX"

export C{,XX}FLAGS="-fdebug-prefix-map='$SCRATCH'='$INSTALL_PREFIX/src' -g"
# Known issue:
# - gtest 1.10 failed to compile on gcc-11.
# https://github.com/mono/libgdiplus/issues/737
export C{,XX}FLAGS="-fdebug-prefix-map='$SCRATCH'='$INSTALL_PREFIX/src' -g -Wno-maybe-uninitialized"

# For libpng.
export PKG_CONFIG_PATH="/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
Expand Down

0 comments on commit 647a340

Please sign in to comment.