summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test.sh3
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"
 			;;