diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-27 22:00:12 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-27 22:00:12 +0000 |
commit | 5c4e01393c84953eb201d10c36398fc319e699b3 (patch) | |
tree | 5faa2ea2b26a0c32309391a01d2b692f12e2e04c /package/libol/Makefile | |
parent | ef1462171a1bc1942a4d322476a8ecdf152b0750 (diff) |
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/libol/Makefile')
-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 $@ |