Skip to content

Commit

Permalink
Add a compilation script to build a static Linux/Mips binary
Browse files Browse the repository at this point in the history
Which means no plugins, though. And this is sad.
  • Loading branch information
jedisct1 committed May 11, 2013
1 parent 5f67254 commit cdc5fbe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist-build/mipsel-linux-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

export LDFLAGS='-Wl,-static -static -static-libgcc -s -Wl,--gc-sections'
export CFLAGS='-Os -fomit-frame-pointer'

./configure --host=mipsel-linux && \
make -j3

0 comments on commit cdc5fbe

Please sign in to comment.