package/libuhttpd: depends on gcc >= 4.9
Add a dependency on gcc >= 4.9 to avoid the following build failure with gcc 4.8.3 raised since bump to version 3.14.1 in commit61797c52f5
andffdf7de3a4
: /home/peko/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/cgi.c:41:5: error: initializer element is not a constant expression [-Werror] {"accept", strlen("accept"), "HTTP_ACCEPT"}, ^ It should be noted that upstream rejected a patch to remove -Werror: https://github.com/zhaojh329/libuhttpd/pull/12 Fixes: - http://autobuild.buildroot.org/results/a3a970a6398dcb0e4e03f4277f1a50c6b5eff7bd Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d661740201
commit
8679f6a7e7
@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_LIBUHTTPD
|
||||
bool "libuhttpd"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
select BR2_PACKAGE_LIBEV
|
||||
select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL
|
||||
help
|
||||
@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBUHTTPD
|
||||
library based on libev
|
||||
|
||||
https://github.com/zhaojh329/libuhttpd
|
||||
|
||||
comment "libuhttpd needs a toolchain w/ gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
Loading…
Reference in New Issue
Block a user