fix /etc/config/firewall
[openwrt.git] / openwrt / package / libol / Makefile
index 9205184..c043139 100644 (file)
@@ -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 $@
This page took 0.040584 seconds and 4 git commands to generate.