Skip to content

Commit 2d7ee35

Browse files
authored
Remove forced std=C++11 (etr#250)
The library should determine automatically the flag (ideally using C++14)
1 parent 6718e0a commit 2d7ee35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This file is part of libhttpserver
3-
# Copyright (C) 2011, 2012, 2013, 2014, 2015 Sebastiano Merlino
3+
# Copyright (C) 2011-2021 Sebastiano Merlino
44
#
55
# This library is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Lesser General Public
@@ -118,7 +118,7 @@ if test x"$host" = x"$build"; then
118118
[AC_MSG_ERROR(["microhttpd.h not found"])]
119119
)
120120

121-
CXXFLAGS="-std=c++11 -DHTTPSERVER_COMPILATION -D_REENTRANT $LIBMICROHTTPD_CFLAGS $CXXFLAGS"
121+
CXXFLAGS="-DHTTPSERVER_COMPILATION -D_REENTRANT $LIBMICROHTTPD_CFLAGS $CXXFLAGS"
122122
LDFLAGS="$LIBMICROHTTPD_LIBS $NETWORK_LIBS $ADDITIONAL_LIBS $LDFLAGS"
123123

124124
cond_cross_compile="no"
@@ -131,7 +131,7 @@ else
131131
[AC_MSG_ERROR(["microhttpd.h not found"])]
132132
)
133133

134-
CXXFLAGS="-std=c++11 -DHTTPSERVER_COMPILATION -D_REENTRANT $CXXFLAGS"
134+
CXXFLAGS="-DHTTPSERVER_COMPILATION -D_REENTRANT $CXXFLAGS"
135135
LDFLAGS="$NETWORK_LIBS $ADDITIONAL_LIBS $LDFLAGS"
136136

137137
cond_cross_compile="yes"

0 commit comments

Comments
 (0)