mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[trac1155] -Wno-missing-braces is made conditional on Solaris
This commit is contained in:
@@ -266,10 +266,12 @@ AC_SUBST(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
|
||||
|
||||
# gcc specific settings:
|
||||
if test "X$GXX" = "Xyes"; then
|
||||
B10_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-missing-braces"
|
||||
B10_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare"
|
||||
case "$host" in
|
||||
*-solaris*)
|
||||
MULTITHREADING_FLAG=-pthreads
|
||||
# In Solaris, IN6ADDR_ANY_INIT and IN6ADDR_LOOPBACK_INIT need -Wno-missing-braces
|
||||
B10_CXXFLAGS="$B10_CXXFLAGS -Wno-missing-braces"
|
||||
;;
|
||||
*)
|
||||
MULTITHREADING_FLAG=-pthread
|
||||
|
Reference in New Issue
Block a user