Skip to content

Commit 7a0197c

Browse files
committed
Pass --no-relax to the linker, until MonoVM doesn't need it anymore
1 parent 2a872aa commit 7a0197c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/ld.cmd.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
setlocal
33
set BINARIES_DIRECTORY=%~dp0
44

5-
set "BINARIES_DIRECTORY=" && "%BINARIES_DIRECTORY%ld.exe" %*
5+
set "BINARIES_DIRECTORY=" && "%BINARIES_DIRECTORY%ld.exe" --no-relax %*
66
if not ERRORLEVEL 0 exit /b %errorlevel%

scripts/ld.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash -e
22
MY_DIR="$(cd $(dirname $0);pwd)"
3-
exec "${MY_DIR}"/ld "$@"
3+
exec "${MY_DIR}"/ld --no-relax "$@"

0 commit comments

Comments
 (0)