mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 09:58:07 +02:00
Ignore strict aliasing warnings since glib locks have issues with this in recent gcc versions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3650 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
4fe828fb28
commit
78865114aa
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,8 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|||
|
||||
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement -Wstrict-prototypes \
|
||||
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare; do
|
||||
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
|
||||
-fno-strict-aliasing; do
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $option"
|
||||
AC_MSG_CHECKING([whether gcc understands $option])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue