X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/603ef842814d6e4b916c1e6e2222480592f930a6..91ab93d31346fe42e34786775a90bd15d17de997:/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 $@