]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed cross-compiling of slang.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jul 2008 11:09:33 +0000 (11:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jul 2008 11:09:33 +0000 (11:09 +0000)
lfs/slang

index cd173baeaa597954206c05634926622c5dc0b15f..2d7b996dbbf773bc082d4a3e7f7d85cf232ff68d 100644 (file)
--- a/lfs/slang
+++ b/lfs/slang
@@ -64,10 +64,12 @@ endif
 
 ifeq "$(STAGE)" "installer"
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-uclibc-1.patch
-       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
-                                               --with-png=no \
-                                               --target=$(UCLIBC_TARGET) \
-                                               --host=$(UCLIBC_TARGET)
+       cd $(DIR_APP) && $(U_TOOLS) \
+               ./configure \
+                       --host=$(UCLIBC_TARGET) \
+                       --prefix=/usr \
+                       --sysconfdir=/etc \
+                       --with-png=no
        cd $(DIR_APP)/src && make $(PARALLELISMFLAGS)
        cd $(DIR_APP)/src && make DESTDIR=$(INSTALLER_DIR) install-all
        -chmod -v 755 $(INSTALLER_DIR)/usr/lib/libslang.so.$(VER) \