diff options
-rwxr-xr-x | builddeps-flashrom | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builddeps-flashrom b/builddeps-flashrom index 250c393..ea93780 100755 --- a/builddeps-flashrom +++ b/builddeps-flashrom @@ -45,8 +45,10 @@ do cp ../resources/flashrom/patch/flashchips.c"$patchname" flashchips.c rm -f flashrom"$patchname" if (( $# != 1 )); then + # build it dynamically linked make else + # build it statically linked make SHARED=0 CC='gcc -static' fi mv flashrom flashrom"$patchname" |