diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-03-27 22:00:12 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-03-27 22:00:12 +0000 |
commit | 421ec10314cfbcd876395c40eb4e0544a7d99501 (patch) | |
tree | 5faa2ea2b26a0c32309391a01d2b692f12e2e04c /package | |
parent | 590dbadf2816af6676a42ea1c8a2e3cdb674b7a4 (diff) | |
download | master-187ad058-421ec10314cfbcd876395c40eb4e0544a7d99501.tar.gz master-187ad058-421ec10314cfbcd876395c40eb4e0544a7d99501.tar.bz2 master-187ad058-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/Makefile | 2 |
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 $@ |