From 4a141845c7419f3e8eec7790a368a7b42abc5364 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 31 Jul 2007 10:23:55 +0000 Subject: [PATCH] apr: cleanup, fix cflags SVN-Revision: 8266 --- libs/apr/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/libs/apr/Makefile b/libs/apr/Makefile index 357d61e512..1b170a7494 100644 --- a/libs/apr/Makefile +++ b/libs/apr/Makefile @@ -32,27 +32,23 @@ define Package/apr URL:=http://apr.apache.org/ endef -define Build/Configure - $(call Build/Configure/Default, \ +CONFIGURE_ARGS += \ --with-devrandom=/dev/urandom \ --disable-dso \ - --disable-ipv6 \ - , \ + --disable-ipv6 + +CONFIGURE_VARS += \ ac_cv_file__dev_zero=yes \ apr_cv_process_shared_works=no \ apr_cv_mutex_robust_shared=no \ apr_cv_tcp_nodelay_with_cork=yes \ ac_cv_sizeof_ssize_t=4 \ LDFLAGS="-lpthread -L$(STAGING_DIR)/lib" \ - CFLAGS="-I$(STAGING_DIR)/include" \ - ) -endef + CFLAGS="-I$(STAGING_DIR)/include $(TARGET_CFLAGS)" -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef +MAKE_FLAGS += \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/bin -- 2.30.2