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