add build script for static binary
parent
0c4ef661e2
commit
b10a4158fa
|
@ -1 +1,2 @@
|
|||
/ethercat
|
||||
/ethercat-static
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -v
|
||||
rm ethercat-static
|
||||
gcc -Wall -Wextra -fPIE -pie -static -static-libgcc ethercat.c -o ethercat-static
|
Loading…
Reference in New Issue