X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4e35b953f6cda03f3c5cdbce20f1fcbf1001a419..7417ebb6a3e5b2230bafa8a2cffc10adfd5ab847:/openwrt/package/libol/Makefile?ds=sidebyside diff --git a/openwrt/package/libol/Makefile b/openwrt/package/libol/Makefile index e614fa2ee..f027a4259 100644 --- a/openwrt/package/libol/Makefile +++ b/openwrt/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 $@