vim: add TARGET_CONFIGURE_OPTS
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Oct 2008 12:13:28 +0000 (12:13 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Oct 2008 12:13:28 +0000 (12:13 -0000)
Patch by Markus Heidelberg.

package/editors/vim/vim.mk

index a9d79ed492cdcd03eec42e82982a7c8a0e6f51a7..826e3c702c6ca6da4acd69d130de1d87e3f4ac7c 100644 (file)
@@ -36,11 +36,12 @@ $(VIM_DIR)/.patched: $(VIM_DIR)/.unpacked
 
 $(VIM_DIR)/.configured: $(VIM_DIR)/.patched
        (cd $(VIM_DIR)/src; \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                STRIP="$(TARGET_STRIP)" \
                PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
                PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
-        $(TARGET_CONFIGURE_ARGS) \
                ./configure --prefix=/usr \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \