Skip to content

Commit

Permalink
update comment and split lines
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Jan 1, 2025
1 parent cf38b21 commit 034ef2b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/libgcrypt/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ PACKAGE_SRC="https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${PACKAGE_VERS

configure_package() {
# LX01 and S12 do not support the getentropy function (kernel version too low).
# This affects shairport-sync AirPlay2 feature, issue #97
EXTRA_FLAGS=""
if [ "$BUILD_MODEL" = "LX01" ] || [ "$BUILD_MODEL" = "S12" ]; then
EXTRA_FLAGS="--enable-random=linux"
fi

CC="${BUILD_CC}" CXX="${BUILD_CXX}" CFLAGS="${BUILD_CFLAGS}" CXXFLAGS="${BUILD_CFLAGS}" CPPFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" PKG_CONFIG_LIBDIR="${BUILD_PKG_CONFIG_LIBDIR}" PKG_CONFIG_SYSROOT_DIR="${BUILD_PKG_CONFIG_SYSROOT_DIR}" ./configure --prefix=${INSTALL_PREFIX} --build=${MACHTYPE} --host=${BUILD_TARGET} --with-libgpg-error-prefix=${STAGING_DIR}/${INSTALL_PREFIX} ${EXTRA_FLAGS}
CC="${BUILD_CC}" CXX="${BUILD_CXX}" CFLAGS="${BUILD_CFLAGS}" \
CXXFLAGS="${BUILD_CFLAGS}" CPPFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" \
PKG_CONFIG_LIBDIR="${BUILD_PKG_CONFIG_LIBDIR}" PKG_CONFIG_SYSROOT_DIR="${BUILD_PKG_CONFIG_SYSROOT_DIR}" \
./configure --prefix=${INSTALL_PREFIX} --build=${MACHTYPE} --host=${BUILD_TARGET} \
--with-libgpg-error-prefix=${STAGING_DIR}/${INSTALL_PREFIX} \
${EXTRA_FLAGS}
}

make_package() {
Expand Down

0 comments on commit 034ef2b

Please sign in to comment.