Skip to content

Commit

Permalink
build: let additional configure params to be passed into guix
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Nov 15, 2023
1 parent 4dff2e0 commit ba148ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contrib/guix/guix-build
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ EOF
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \
-- env HOST="$host" \
CONFIGFLAGS="$CONFIGFLAGS" \
DISTNAME="$DISTNAME" \
JOBS="$JOBS" \
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:?unable to determine value}" \
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/libexec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mkdir -p "$OUTDIR"
###########################

# CONFIGFLAGS
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary"
CONFIGFLAGS+=" --enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary"
case "$HOST" in
*linux*) CONFIGFLAGS+=" --disable-threadlocal" ;;
esac
Expand Down

0 comments on commit ba148ad

Please sign in to comment.