summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-12-05 02:50:08 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-12-05 02:50:08 -0500
commit8032339c59da9eb162fa735ed3c99c10dc0f8ce0 (patch)
treee0fcdac182bdc16bdaacd6e3c79bd6c1b459b9f0
parent6ed62fe94531f2e56c58d1d7891e099de0a26663 (diff)
downloadroux-8032339c59da9eb162fa735ed3c99c10dc0f8ce0.tar.gz
disable pie (default on some os)
-rwxr-xr-xtools/unit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/unit.sh b/tools/unit.sh
index d665d09..ded1b29 100755
--- a/tools/unit.sh
+++ b/tools/unit.sh
@@ -59,7 +59,7 @@ once() {
 		LNK="$ASM"
 	fi
 
-	if ! cc -g -o $BIN $LNK
+	if ! cc -no-pie -g -o $BIN $LNK
 	then
 		echo "[cc fail]"
 		return 1