ref: d956ad1f14fceb8368cd60c31cf765df818586c7
parent: 7e1907d5b237b7bf2b740beeeb727bf3a7b91c90
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Mar 1 16:51:14 EST 2015
Add new build.sh script This new script set all the flags needed by the different architectures.
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,1 @@
*.o
-build.sh
--- /dev/null
+++ b/build.sh
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+case `uname` in
+Plan9)
+ CFLAGS="-D_SUSV2_SOURCE -DNBOOL"
+ export CFLAGS
+ ;;
+esac
+
+make $@
+