rendered paste body--- lzo.mk (Revision 893)
+++ lzo.mk (Arbeitskopie)
@@ -20,8 +20,9 @@
( cd $(LZO_DIR); \
$(TARGET_CONFIGURE_OPTS) \
PATH="$(TARGET_TOOLCHAIN_PATH)" \
- CC="$(TARGET_CC)" \
+ CC="diet $(TARGET_CROSS)gcc" \
CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="-lcompat" \
./configure \
--target=mipsel-linux \
--host=mipsel-linux \
@@ -39,11 +40,11 @@
--localstatedir=/var \
--mandir=/usr/share/man \
--sbindir=/usr/sbin \
- --enable-shared \
+ --disable-shared \
$(DISABLE_LARGEFILE) \
--disable-libtool-lock \
--disable-asm \
- --disable-static \
+ --enable-static \
);
touch $@
@@ -51,7 +52,8 @@
PATH=$(TARGET_TOOLCHAIN_PATH) $(MAKE) \
-C $(LZO_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)"
+ CFLAGS="$(TARGET_CFLAGS)" \
+ CC="diet mipsel-linux-gcc"