From c52f9162c4d35f3b55001d7337d618184961966f Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 7 Apr 2017 19:42:47 -0400 Subject: misc fixes for osx With the default toolchain, it looks like we have to make sure all symbols are loaded using rip-relative addressing. --- tools/test.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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" ;; -- cgit 1.4.1