Browse Source

disable pie (default on some os)

Quentin Carbonneaux 9 years ago
parent
commit
8032339c59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/unit.sh

+ 1 - 1
tools/unit.sh

@@ -59,7 +59,7 @@ once() {
 		LNK="$ASM"
 		LNK="$ASM"
 	fi
 	fi
 
 
-	if ! cc -g -o $BIN $LNK
+	if ! cc -no-pie -g -o $BIN $LNK
 	then
 	then
 		echo "[cc fail]"
 		echo "[cc fail]"
 		return 1
 		return 1