aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-03-27 22:00:12 +0000
committerNicolas Thill <nico@openwrt.org>2006-03-27 22:00:12 +0000
commitda758f2af4ee7c157c0a879e4efac25967185581 (patch)
treecd25885455bddb66c174fbea2b210629b0b51591
parent266d7ec3678eac203b1f6b7ca8026df5c64683c1 (diff)
downloadupstream-da758f2af4ee7c157c0a879e4efac25967185581.tar.gz
upstream-da758f2af4ee7c157c0a879e4efac25967185581.tar.bz2
upstream-da758f2af4ee7c157c0a879e4efac25967185581.zip
override cflags set to -O2 by configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3514 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/libol/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/libol/Makefile b/openwrt/package/libol/Makefile
index 9205184ca07..f027a4259a2 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 $@