Compare commits
No commits in common. "dccdca81145be78acd3439ed83b2fc3e8425935c" and "75cfaa1f439b3a1e608fbcdb3021e59019fc0ee1" have entirely different histories.
dccdca8114
...
75cfaa1f43
4 changed files with 6 additions and 12 deletions
12
configure.ac
12
configure.ac
|
|
@ -14,10 +14,10 @@ if test "x$GCC" = "xyes" && test "x$CC" = "xgcc"; then
|
|||
fi
|
||||
fi
|
||||
if test "x$ac_cv_env_CFLAGS_set" != "xset"; then
|
||||
CFLAGS=""
|
||||
CFLAGS="-O2"
|
||||
fi
|
||||
|
||||
STRICT_CFLAGS="-Wall -Wextra -Werror -pipe -Wpedantic -Wconversion -Wshadow -Wvla"
|
||||
STRICT_CFLAGS="-Wall -Wextra -Werror -pipe -Wpedantic -Wconversion -Wshadow"
|
||||
AC_SUBST([STRICT_CFLAGS])
|
||||
|
||||
AM_PROG_AR
|
||||
|
|
@ -34,12 +34,6 @@ AC_ARG_ENABLE(
|
|||
[enable_debug=no]
|
||||
)
|
||||
AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"])
|
||||
AS_IF([test "x$enable_debug" = "xyes"],
|
||||
[CFLAGS="-g -O0"],
|
||||
[CFLAGS="-O2"],
|
||||
)
|
||||
|
||||
AC_SUBST([DEBUG_CFLAGS])
|
||||
|
||||
|
||||
# --with-bundled-libcli
|
||||
|
|
@ -101,7 +95,7 @@ AC_MSG_NOTICE([
|
|||
------------------
|
||||
PREFIX : $prefix
|
||||
CC : $CC
|
||||
CFLAGS : $STRICT_CFLAGS $CFLAGS
|
||||
CFLAGS : $STRICT_CFLAGS
|
||||
tests : $enable_tests
|
||||
debug : $enable_debug
|
||||
libcli : system=$have_system_libcli (forced bundled=$with_bundled_libcli)
|
||||
|
|
|
|||
2
libcli
2
libcli
|
|
@ -1 +1 @@
|
|||
Subproject commit 9f179fa596b1f50007d4995256f47cf5edb4f5dc
|
||||
Subproject commit 7f54a348a5eb5087258e7457452eda32379daac3
|
||||
2
libicmp
2
libicmp
|
|
@ -1 +1 @@
|
|||
Subproject commit 75c5766f00f85d57171bc6c88e4dbe7c4ad6bdd0
|
||||
Subproject commit ac9ca93d9f0e388c834eae7620bbd4639f2464e4
|
||||
|
|
@ -81,7 +81,7 @@ fill_payload(uint8_t *payload, size_t len, const struct ping_config *config,
|
|||
if (0 == config->pattern_len)
|
||||
{
|
||||
for (i = offset; i < len; ++i)
|
||||
payload[i] = (uint8_t)((i - offset) & 0xFF);
|
||||
payload[i] = (uint8_t)('a' + ((i - offset) % 26));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue