Some versions of GCC warn about some versions of Boost regarding
missing initializer for members in its posix_time.
https://svn.boost.org/trac/boost/ticket/3477
But older GCC compilers don't have the flag.
This is the same as on a few other Makefiles too.
AM_CXXFLAGS = $(B10_CXXFLAGS)
+# Some versions of GCC warn about some versions of Boost regarding
+# missing initializer for members in its posix_time.
+# https://svn.boost.org/trac/boost/ticket/3477
+# But older GCC compilers don't have the flag.
+AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
+
CLEANFILES = *.gcno *.gcda
lib_LTLIBRARIES = libdhcp++.la
AM_CXXFLAGS = $(B10_CXXFLAGS)
+# Some versions of GCC warn about some versions of Boost regarding
+# missing initializer for members in its posix_time.
+# https://svn.boost.org/trac/boost/ticket/3477
+# But older GCC compilers don't have the flag.
+AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
+
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
AM_CXXFLAGS = $(B10_CXXFLAGS)
+# Some versions of GCC warn about some versions of Boost regarding
+# missing initializer for members in its posix_time.
+# https://svn.boost.org/trac/boost/ticket/3477
+# But older GCC compilers don't have the flag.
+AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
+
AM_LDFLAGS = $(CLOCK_GETTIME_LDFLAGS)
AM_LDFLAGS += -lm
if USE_STATIC_LINK