aboutsummaryrefslogtreecommitdiff
path: root/libnsfb/patches/020-no-cast-align-warn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libnsfb/patches/020-no-cast-align-warn.patch')
-rw-r--r--libnsfb/patches/020-no-cast-align-warn.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libnsfb/patches/020-no-cast-align-warn.patch b/libnsfb/patches/020-no-cast-align-warn.patch
new file mode 100644
index 0000000..1ecaecd
--- /dev/null
+++ b/libnsfb/patches/020-no-cast-align-warn.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2010-10-10 05:53:28.609713613 +0200
++++ b/Makefile 2010-10-10 05:53:42.499719955 +0200
+@@ -11,7 +11,7 @@
+ TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT)
+
+ # Toolchain flags
+-WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
++WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith \
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -Werror -pedantic \
+ -Wno-overlength-strings # For nsglobe.c