sam3x tcpserver example: fix warning when building the example.
[bertos.git] / boards / sam3x-ek / examples / sam3x-ek_tcp_server / sam3x-ek_tcp_server_user.mk
index 89bfa9877d23a12f990893cbf51cc7f8abce38c9..038cc071a60d417f57a79f672f9848fea98058cd 100644 (file)
@@ -37,9 +37,11 @@ sam3x-ek_tcp_server_USER_CPPAFLAGS = \
        #
 
 # Flags included by the user.
+# -Wno-cast-qual silences warnings from using lwip constants
 sam3x-ek_tcp_server_USER_CPPFLAGS = \
        -Os \
        -fno-strict-aliasing \
+       -Wno-cast-qual \
        -fwrapv \
        #