File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ Flag | Description
5151` -ruby ` | Build with Ruby.
5252` -lua ` | Build with Lua.
5353
54+ All other arguments (up until ` -build ` ) will be passed through to
55+ ` ./configure ` , e.g. ` --disable-FEATURE ` etc.
56+
5457
5558### Build
5659
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ init_vars() {
1313 PYTHON=0
1414 RUBY=0
1515 LUA=0
16+ CONFIGURE_OPTIONS=
1617}
1718
1819build () {
@@ -45,6 +46,10 @@ build() {
4546 apk add lua-dev
4647 fi
4748
49+ if [ -n " $CONFIGURE_OPTIONS " ]; then
50+ CONFIG_ARGS=" $CONFIG_ARGS $CONFIGURE_OPTIONS "
51+ fi
52+
4853 cd /vim
4954
5055 BUILD_DIR=" vim-${TAG# v} "
@@ -111,6 +116,9 @@ while [ $# -gt 0 ]; do
111116 build
112117 init_vars
113118 ;;
119+ * )
120+ CONFIGURE_OPTIONS=" $CONFIGURE_OPTIONS $1 "
121+ ;;
114122 esac
115123
116124 shift
You can’t perform that action at this time.
0 commit comments