X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b53c9cea2902572822bbbece5bac236c1bbf846e..9a2902305b75a6bc5a288fd1b12323c77df09b8c:/buildlib/environment.mak.in diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in index 287205181..bf0edb941 100644 --- a/buildlib/environment.mak.in +++ b/buildlib/environment.mak.in @@ -8,8 +8,8 @@ PACKAGE_MAIL = @PACKAGE_MAIL@ # C++ compiler options CC = @CC@ CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2 -CXX = @CXX@ -CXXFLAGS+= @CXXFLAGS@ -std=c++11 -Wall -Wextra +CXX = @CXX@ -std=c++11 +CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef # suggests methods which already have such an attribute