Skip to content

Commit

Permalink
grubby hack to work around mac build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
noahp committed May 29, 2024
1 parent 15490b1 commit 9ed958f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gdb-multi-arch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export CFLAGS="$CFLAGS -Wno-constant-logical-operand -Wno-format-nonliteral -Wno

if [ `uname` == Darwin ]; then
EXTRA_CONFIGURE_FLAGS=""
# add '-fno-define-target-os-macros' to CFLAGS, very sad problem in older zlib
# https://gitlab.kitware.com/cmake/cmake/-/issues/25755
export CFLAGS="$CFLAGS -fno-define-target-os-macros"
else
EXTRA_CONFIGURE_FLAGS="--with-debuginfod"
fi
Expand Down

0 comments on commit 9ed958f

Please sign in to comment.