Skip to content

Commit

Permalink
Merge pull request #49 from lissyx/bug1878584_unify_mach_build_esr
Browse files Browse the repository at this point in the history
Bug 1878584 - Do only one mach configure
  • Loading branch information
bandali0 authored Feb 13, 2024
2 parents 3df5c70 + dff3ac1 commit 6c29f24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ parts:
if [ $CRAFT_TARGET_ARCH != "armhf" ]; then
echo "ac_add_options --enable-rust-simd" >> $MOZCONFIG
fi
echo "ac_add_options --prefix=$CRAFT_PART_INSTALL/usr" >> $MOZCONFIG
GNOME_SDK_SNAP=/snap/gnome-42-2204-sdk/current
if [ $CRAFT_TARGET_ARCH = "amd64" ]; then
# "clang -dumpmachine" returns "x86_64-unknown-linux-gnu" on
Expand All @@ -388,8 +389,6 @@ parts:
export LD_LIBRARY_PATH="$CRAFT_PART_BUILD/obj-$TARGET_TRIPLET/instrumented/dist/bin${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
fi
MACH="/usr/bin/python3 ./mach"
$MACH configure --prefix=$CRAFT_PART_INSTALL/usr
$MACH uniffi generate # workaround for https://bugzilla.mozilla.org/1797714
# Unset SNAP_INSTANCE_NAME because when snapcraft runs as a snap it is set
# (and its value is "snapcraft"), and this interferes with firefox's
# detection of whether it's running sandboxed (see
Expand Down

0 comments on commit 6c29f24

Please sign in to comment.