diff options
Diffstat (limited to 'core/sbase/build')
-rwxr-xr-x | core/sbase/build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/sbase/build b/core/sbase/build index 0ed092ee..957e2a84 100755 --- a/core/sbase/build +++ b/core/sbase/build @@ -1,7 +1,7 @@ #!/bin/sh -e -make LDFLAGS="$LDFLAGS -static" sbase-box -make PREFIX=/usr DESTDIR="$1" sbase-box-install +make CC="${CC:-cc} -static" +make PREFIX=/usr DESTDIR="$1" install -unlink "$1/usr/bin/tar" -unlink "$1/usr/bin/sed" +rm -f "$1/usr/bin/tar" +rm -f "$1/usr/bin/sed" |