dia/dia-0.92.2-no-strict-aliasing.patch

12 lines
307 B
Diff

--- configure.in
+++ configure.in
@@ -357,7 +357,7 @@
DIA_CHECK_CFLAG(-Wmissing-prototypes)
DIA_CHECK_CFLAG(-Wmissing-declarations)
DIA_CHECK_CFLAG(-finline-functions)
- DIA_CHECK_CFLAG(-fstrict-aliasing)
+ DIA_CHECK_CFLAG(-fno-strict-aliasing)
fi
AM_CONDITIONAL(HAVE_GCC, test "$GCC" = yes)