Use _Pragma to turn off invalid-offsetof warnings at appropriate places.
[oweals/dinit.git] / mconfig
diff --git a/mconfig b/mconfig
index b9a65e24fd757ecc068a58f8c2fa8504714c864c..fed7a66b2d48317c06908bfab7838d155d54141d 100644 (file)
--- a/mconfig
+++ b/mconfig
@@ -1,7 +1,7 @@
 # Linux (GCC). Note with GCC 5.x/6.x you must use the old ABI, with GCC 7.x you must use
 # the new ABI. See BUILD file for more information.
 CXX=g++
-CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=gnu++11 -Os -Wall -Wno-invalid-offsetof -fno-rtti
+CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=gnu++11 -Os -Wall -fno-rtti
 EXTRA_LIBS=
 BUILD_SHUTDOWN=yes
 SANITIZEOPTS=-fsanitize=address,undefined