mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-08 19:02:07 +03:00
According to the manual, this isn't the same as `-Werror -pedantic`.
Enable it together with `-Werror`.
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-pedantic-errors-1
This option results in autotools feature detection going into crazies.
To avoid this, we add it to `CFLAGS` late. Idea copied from curl.
This option has an effect only with gcc 5.0 and newer as of this commit.
Let's enable it for clang and older versions too for simplicity. Ref:
d5c0351055
https://github.com/curl/curl/pull/2747
Closes #1286
29 lines
520 B
Makefile
29 lines
520 B
Makefile
# Copyright (C) The libssh2 project and its contributors.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
noinst_PROGRAMS = \
|
|
direct_tcpip \
|
|
scp \
|
|
scp_nonblock \
|
|
scp_write \
|
|
scp_write_nonblock \
|
|
sftp \
|
|
sftp_RW_nonblock \
|
|
sftp_append \
|
|
sftp_mkdir \
|
|
sftp_mkdir_nonblock \
|
|
sftp_nonblock \
|
|
sftp_write \
|
|
sftp_write_nonblock \
|
|
sftp_write_sliding \
|
|
sftpdir \
|
|
sftpdir_nonblock \
|
|
ssh2 \
|
|
ssh2_agent \
|
|
ssh2_agent_forwarding \
|
|
ssh2_echo \
|
|
ssh2_exec \
|
|
subsystem_netconf \
|
|
tcpip-forward \
|
|
x11
|