Merge pull request #6744

bb24835 build: disable -Wself-assign (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan 2015-10-05 13:41:27 +02:00
commit a75c67364d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -167,7 +167,7 @@ fi
## compatibility with the legacy buildsystem.
##
if test "x$CXXFLAGS_overridden" = "xno"; then
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter"
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign"
fi
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"