Tmux is forcing -I /usr/local/include on the compiler. Obviously, this is not
good for cross compiles. God only knows why they put it here in the first
place.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
Now that security features are set globally, having the
FORTIFY_SOURCE option set in Makefile breaks the build when
CONFIG_PKG_FORTIFY_SOURCE_{1,2} is enabled as well.
arm-openwrt-linux-uclibcgnueabi-gcc -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Os -pipe -march=armv6k -mtune=mpcore -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -mfloat-abi=soft -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wp,-MMD,./.mmc.o.d,-MT,mmc.o -c mmc.c -o mmc.o
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
Makefile:35: recipe for target 'mmc.o' failed
Fix this by removing -D_FORTIFY_SOURCE=2 from Makefile.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
The pkgconfig file is generated at make-time, leading to absolute /usr/include & /usr/lib search paths.
The patch lets autoconf handle pkgconfig file subst, like other packages do.
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Update collectd, base of Luci statistics, to 5.4.2.
Patches have been refreshed.
905-fix-sigrok-upstream-patch-post-541 was removed as unnecessary.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
- libkmod for programmatic control of Linux modules
- kmod for administrative control of Linux modules,
symlinks for the familiar module-init-tools suite
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.
Remove the unneeded Build/Configure override.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.
Remove the unneeded Build/Prepare override.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.
Remove the unneeded Build/Prepare override.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>