override cflags set to -O2 by configure
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Mar 2006 22:00:12 +0000 (22:00 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Mar 2006 22:00:12 +0000 (22:00 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3514 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libol/Makefile

index 9205184..f027a42 100644 (file)
@@ -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.027541 seconds and 4 git commands to generate.