Skip to content

Commit

Permalink
dpp: fix build on arm/i686/x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Dec 12, 2023
1 parent 9e9f8ee commit cb44214
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tur/dpp/0001-fix-ambiguous-user.patch

This file was deleted.

5 changes: 5 additions & 0 deletions tur/dpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

termux_step_pre_configure() {
termux_setup_cmake

# Use a dummy include for `sys/ucontext.h` to get rid of `struct user`
mkdir -p $TERMUX_PKG_TMPDIR/dummy-include/sys/
echo "" > $TERMUX_PKG_TMPDIR/dummy-include/sys/ucontext.h
CPPFLAGS+=" -I$TERMUX_PKG_TMPDIR/dummy-include"
}

0 comments on commit cb44214

Please sign in to comment.