package/gesftpserver: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since bump to version 2 in commit026265bf7e
anddbbf0d4542
: In file included from alloc.c:25:0: utils.h:204:48: error: expected ';', ',' or ')' before 'dest' static inline void *sftp_memcpy(void *restrict dest, const void *restrict src, ^ Fixes: - http://autobuild.buildroot.org/results/2795213c07c4a961cee0ae7a4e7cccb8bcd6f68e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2b564a8ccf
commit
85a9a3f0e6
@ -16,7 +16,9 @@ GESFTPSERVER_CPE_ID_VENDOR = green_end
|
||||
GESFTPSERVER_CPE_ID_PRODUCT = sftpserver
|
||||
|
||||
# forgets to link against pthread when cross compiling
|
||||
GESFTPSERVER_CONF_ENV = LIBS=-lpthread
|
||||
GESFTPSERVER_CONF_ENV = \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
||||
LIBS=-lpthread
|
||||
|
||||
# overwrite openssh version if enabled
|
||||
GESFTPSERVER_DEPENDENCIES += \
|
||||
|
Loading…
Reference in New Issue
Block a user