Skip to content

Commit

Permalink
gpkg/glib: test compilation to identify problems in x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython committed Apr 22, 2024
1 parent c04fe6d commit d784f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions gpkg/glib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ TERMUX_PKG_SHA256=8228a92f92a412160b139ae68b6345bd28f24434a7b5af150ebe21ff587a56
TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc"
TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc"
TERMUX_PKG_PYTHON_COMMON_DEPS="pygments, itstool, packaging, gi-docgen"
TERMUX_PKG_ACCEPT_PKG_IN_DEP=true
# -D sysprof=enabled
TERMUX_PKG_ACCEPT_PKG_IN_DEP=false
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--default-library both
-D runtime_dir=$TERMUX_PREFIX/var/run
Expand All @@ -19,12 +18,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-D introspection=enabled
-D man-pages=enabled
-D selinux=disabled
-D sysprof=disabled
"

termux_step_pre_configure() {
CFLAGS+=" -g3 -ffat-lto-objects"
CXXFLAGS+=" -g3 -ffat-lto-objects"
LDFLAGS+=" -lmount"
}

termux_step_create_debscripts() {
Expand Down
1 change: 0 additions & 1 deletion gpkg/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

termux_step_pre_configure() {
CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython"
LDFLAGS+=" -lmount"
}

termux_step_post_make_install() {
Expand Down

0 comments on commit d784f42

Please sign in to comment.