diff options
| author | Nicolas Thill | 2010-08-14 23:40:04 +0000 |
|---|---|---|
| committer | Nicolas Thill | 2010-08-14 23:40:04 +0000 |
| commit | d0e2e6f37f68a4ae4fab433b0c82ab03642d8760 (patch) | |
| tree | 7e91849b25975ac75a4418e2189eb9cdde42026a | |
| parent | f1e35ecc5097f4c0a959e5484f666509561bd95b (diff) | |
| download | archive-d0e2e6f37f68a4ae4fab433b0c82ab03642d8760.tar.gz | |
[packages] collectd: fix fp-layout on big-endian targets (closes: #7707)
SVN-Revision: 22653
| -rw-r--r-- | utils/collectd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 69007d80d6..ff1ebf0465 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=4.9.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://collectd.org/files/ @@ -145,7 +145,6 @@ CONFIGURE_ARGS+= \ --enable-daemon \ --enable-getifaddrs \ --with-nan-emulation \ - --with-fp-layout=nothing CONFIGURE_VARS+= \ CFLAGS="$$$$CFLAGS $(FPIC)" \ @@ -167,6 +166,12 @@ ifneq ($(CONFIG_PACKAGE_collectd-mod-ascent),) CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/libxml2" endif +ifneq ($(CONFIG_BIG_ENDIAN),) + CONFIGURE_ARGS+= --with-fp-layout=endianflip +else + CONFIGURE_ARGS+= --with-fp-layout=nothing +endif + ifneq ($(CONFIG_PACKAGE_collectd-mod-postgresql),) CONFIGURE_ARGS+= --with-libpq="$(STAGING_DIR)/usr/" endif |