all.do | 1 - build | 11 +++++++++++ clean.do | 1 - dht-bootstrap.do | 4 ---- diff --git a/all.do b/all.do deleted file mode 100644 index 3b5334cbfd4892d9ffb91de41d7814ce7a001eeb..0000000000000000000000000000000000000000 --- a/all.do +++ /dev/null @@ -1 +0,0 @@ -redo-ifchange dht-bootstrap diff --git a/build b/build new file mode 100755 index 0000000000000000000000000000000000000000..66a7392825272db260f98f75d43433ce3d54ef7a --- /dev/null +++ b/build @@ -0,0 +1,11 @@ +#!/bin/sh -e + +CFLAGS="$CFLAGS -pipe" +CFLAGS="$CFLAGS -std=c99 -pedantic" +CFLAGS="$CFLAGS -fwrapv" +CFLAGS="$CFLAGS -fstack-protector-strong" +CFLAGS="$CFLAGS -fstack-clash-protection" +CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" +CFLAGS="$CFLAGS -fPIC" +CFLAGS="$CFLAGS -O3" +${CC:-cc} $CFLAGS -o dht-bootstrap dht-bootstrap.c -pie -Wl,-z,relro,-z,now diff --git a/clean.do b/clean.do deleted file mode 100644 index 42907cae64260923012922385dc4e2939cefcb3b..0000000000000000000000000000000000000000 --- a/clean.do +++ /dev/null @@ -1 +0,0 @@ -rm -f dht-bootstrap diff --git a/dht-bootstrap.do b/dht-bootstrap.do deleted file mode 100644 index 5a898e67e298adeeb43beb25032d5270297d151a..0000000000000000000000000000000000000000 --- a/dht-bootstrap.do +++ /dev/null @@ -1,4 +0,0 @@ -redo-ifchange dht-bootstrap.c -CFLAGS="$CFLAGS -fstack-protector-strong" -CFLAGS="$CFLAGS -fstack-clash-protection" -${CC:-cc} -std=c99 $CFLAGS -fPIC -o $3 dht-bootstrap.c -pie -Wl,-z,relro,-z,now