From: Felix Fietkau Date: Tue, 31 Jul 2007 10:46:18 +0000 (+0000) Subject: libevent: cleanup, fix cflags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bda6a50b7f23a7e4b25251e964c2469dc88b73c5;p=openwrt%2Fsvn-archive%2Fpackages.git libevent: cleanup, fix cflags SVN-Revision: 8271 --- diff --git a/libs/libevent/Makefile b/libs/libevent/Makefile index 9a9663970..bb6aea51c 100644 --- a/libs/libevent/Makefile +++ b/libs/libevent/Makefile @@ -39,18 +39,14 @@ define Package/libevent URL:=http://www.monkey.org/~provos/libevent/ endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-shared \ - --enable-static \ - ) -endef +CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/include