[OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling

John Crispin blogic at openwrt.org
Fri May 22 14:43:05 EDT 2015


Hi,

brigde-utils is part of the github feed. please file an issue there

	John

On 12/05/2015 03:48, Nikolay Martynov wrote:
> Make sure brctl build uses appropriate defines (_FILE_OFFSET_BITS) that match uClibc settings.
> Without this patch running brctl leads to 'unresolved alphasort symbol' message.
> 
> Signed-off-by: Nikolay Martynov <mar.kolya at gmail.com>
> ---
>  net/bridge-utils/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/net/bridge-utils/Makefile b/net/bridge-utils/Makefile
> index ad95b87..10e44c5 100644
> --- a/net/bridge-utils/Makefile
> +++ b/net/bridge-utils/Makefile
> @@ -30,6 +30,8 @@ define Package/bridge/description
>   form a larger network.
>  endef
>  
> +TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> +
>  CONFIGURE_ARGS += \
>  	--with-linux-headers="$(LINUX_DIR)" \
>  
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list