Skip to content

Commit

Permalink
update configure to include zephyr-bits.h
Browse files Browse the repository at this point in the history
Touch-up the generated configure script to reflect changes in
configure.ac .

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt committed Dec 6, 2023
1 parent f427f7d commit 14eae62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,14 @@ else
is_cross_compiler=yes
fi

# required for gthr-posix.h support in Zephyr
case "${target}" in
*zephyr*)
CFLAGS="$CFLAGS -include `realpath $srcdir/libgcc/zephyr-bits.h`"
CXXFLAGS="$CXXFLAGS -include `realpath $srcdir/libgcc/zephyr-bits.h`"
;;
esac

# Find the build and target subdir names.

# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
Expand Down

0 comments on commit 14eae62

Please sign in to comment.