summaryrefslogtreecommitdiffstats
path: root/openwrt/package
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-27 22:00:12 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-27 22:00:12 +0000
commit7417ebb6a3e5b2230bafa8a2cffc10adfd5ab847 (patch)
treecd25885455bddb66c174fbea2b210629b0b51591 /openwrt/package
parent176aefb06a7b4d5ea89de61aa9d9c0bc2278a52d (diff)
override cflags set to -O2 by configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3514 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-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 9205184ca..f027a4259 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 $@