X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fe6507bd738aae9ab5088290e8ae0dee7de8c9f8..c3b88d8b5e47898e1941074d62ad7e979b42bad9:/package/libol/Makefile?ds=sidebyside diff --git a/package/libol/Makefile b/package/libol/Makefile index e614fa2ee..f027a4259 100644 --- a/package/libol/Makefile +++ b/package/libol/Makefile @@ -7,7 +7,7 @@ PKG_VERSION:=0.3.17 PKG_RELEASE:=1 PKG_MD5SUM:=28cc52e84bdb472b7830f9ad120a62a7 -PKG_SOURCE_URL:=http://www.balabit.com/downloads/libol/0.3/ +PKG_SOURCE_URL:=http://www.balabit.com/downloads/libol/0.3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_CAT:=zcat @@ -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 $@