diff options
| author | Quentin Carbonneaux <[email protected]> | 2017-04-07 19:42:47 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2017-04-08 22:23:40 -0400 |
| commit | c52f9162c4d35f3b55001d7337d618184961966f (patch) | |
| tree | 1e8821420c11d79cdb9d40c440984c78a2ea1a1f /tools/test.sh | |
| parent | 5fde07c211848adc5b220500b257a6a9b8ef50f8 (diff) | |
misc fixes for osx
With the default toolchain, it looks like we have to
make sure all symbols are loaded using rip-relative
addressing.
Diffstat (limited to 'tools/test.sh')
| -rwxr-xr-x | tools/test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/test.sh b/tools/test.sh index 5430ccd..5c3f205 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -35,6 +35,9 @@ init() { ;; "") case `uname` in + *Darwin*) + cc="cc -Wl,-no_pie" + ;; *OpenBSD*) cc="cc -nopie" ;; |
