diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /taskcluster/scripts/misc/build-geckodriver.sh | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/scripts/misc/build-geckodriver.sh')
-rwxr-xr-x | taskcluster/scripts/misc/build-geckodriver.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/taskcluster/scripts/misc/build-geckodriver.sh b/taskcluster/scripts/misc/build-geckodriver.sh index 7434ee2ef8..59b3946821 100755 --- a/taskcluster/scripts/misc/build-geckodriver.sh +++ b/taskcluster/scripts/misc/build-geckodriver.sh @@ -18,14 +18,14 @@ case "$TARGET" in COMPRESS_EXT=zip . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh # Bug 1584530: don't require the Microsoft MSVC runtime to be installed. - export RUSTFLAGS="-Ctarget-feature=+crt-static -C linker=$MOZ_FETCHES_DIR/clang/bin/lld-link" + RUSTFLAGS="-Ctarget-feature=+crt-static -C linker=$MOZ_FETCHES_DIR/clang/bin/lld-link" export TARGET_CFLAGS="-Xclang -ivfsoverlay -Xclang $MOZ_FETCHES_DIR/vs/overlay.yaml" export TARGET_CXXFLAGS="-Xclang -ivfsoverlay -Xclang $MOZ_FETCHES_DIR/vs/overlay.yaml" ;; # OSX cross builds are a bit harder *-apple-darwin) export PATH="$MOZ_FETCHES_DIR/clang/bin:$PATH" - export RUSTFLAGS="-C linker=$GECKO_PATH/taskcluster/scripts/misc/osx-cross-linker" + RUSTFLAGS="-C linker=$GECKO_PATH/taskcluster/scripts/misc/osx-cross-linker" if test "$TARGET" = "aarch64-apple-darwin"; then export MACOSX_DEPLOYMENT_TARGET=11.0 else @@ -33,15 +33,16 @@ case "$TARGET" in fi ;; aarch64-unknown-linux-musl) - export RUSTFLAGS="-C linker=$MOZ_FETCHES_DIR/clang/bin/clang -C link-arg=--target=$TARGET -C link-arg=-fuse-ld=lld" + RUSTFLAGS="-C linker=$MOZ_FETCHES_DIR/clang/bin/clang -C link-arg=--target=$TARGET -C link-arg=-fuse-ld=lld" ;; esac export PATH="$MOZ_FETCHES_DIR/rustc/bin:$PATH" +export RUSTFLAGS="-Dwarnings $RUSTFLAGS" cd $GECKO_PATH/testing/geckodriver -cp $GECKO_PATH/.cargo/config.in $GECKO_PATH/.cargo/config +cp $GECKO_PATH/.cargo/config.toml.in $GECKO_PATH/.cargo/config.toml cargo build --frozen --verbose --release --target "$TARGET" |