From: Nicolas Thill Date: Mon, 27 Mar 2006 22:00:12 +0000 (+0000) Subject: override cflags set to -O2 by configure X-Git-Tag: reboot~30935 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21a54709f0d9888fd52921f015b55c93daabc407;p=openwrt%2Fstaging%2Fnoltari.git override cflags set to -O2 by configure SVN-Revision: 3514 --- diff --git a/openwrt/package/libol/Makefile b/openwrt/package/libol/Makefile index 9205184ca0..f027a4259a 100644 --- a/openwrt/package/libol/Makefile +++ b/openwrt/package/libol/Makefile @@ -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 $@