aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit421ec10314cfbcd876395c40eb4e0544a7d99501 (patch)
tree5faa2ea2b26a0c32309391a01d2b692f12e2e04c /package
parent590dbadf2816af6676a42ea1c8a2e3cdb674b7a4 (diff)
downloadupstream-421ec10314cfbcd876395c40eb4e0544a7d99501.tar.gz
upstream-421ec10314cfbcd876395c40eb4e0544a7d99501.tar.bz2
upstream-421ec10314cfbcd876395c40eb4e0544a7d99501.zip
override cflags set to -O2 by configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3514 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libol/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libol/Makefile b/package/libol/Makefile
index 9205184ca0..f027a4259a 100644
--- a/package/libol/Makefile
+++ b/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 $@