X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/603ef842814d6e4b916c1e6e2222480592f930a6..0ca5252194d3a8fd53b9c4b24602bd9a6cddf6e1:/openwrt/package/libol/Makefile diff --git a/openwrt/package/libol/Makefile b/openwrt/package/libol/Makefile index 9205184ca..c0431392f 100644 --- a/openwrt/package/libol/Makefile +++ b/openwrt/package/libol/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $ +# $Id$ include $(TOPDIR)/rules.mk @@ -52,7 +52,9 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) + # pass CFLAGS again to override -O2 set by configure $(MAKE) -C $(PKG_BUILD_DIR) \ + CFLAGS="$(TARGET_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install touch $@