X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/176aefb06a7b4d5ea89de61aa9d9c0bc2278a52d..7417ebb6a3e5b2230bafa8a2cffc10adfd5ab847:/openwrt/package/libol/Makefile 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 $@