From: =?utf-8?q?Simon_D=C3=A9saulniers?= Date: Tue, 12 May 2020 01:13:57 -0400 Subject: configure.ac: rm -O3 compilation flag It does conflict with -fstack-protector-strong which is appended by Debian by default. I do not know the nature of the conflict, but for now it manifests by invalidating the resulting compiled binary as `dpaste` cannot send requests on the DHT network and fails instantly. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b8f9107..509bae7 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ CXXFLAGS="${CXXFLAGS} -std=c++17" AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Build in debug mode, adds stricter warnings, disables optimization])) AS_IF([test "x$enable_debug" = "xyes"], [CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -O0"], - [CXXFLAGS="${CXXFLAGS} -O3"]) + []) AC_PROG_CXX AC_PROG_RANLIB