From 25d028cd677b737c7a45aff38347115ca8048aa8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 18 Oct 2013 14:13:58 +0200 Subject: [PATCH] Add -Wno-format --- Makefile | 1 + freebsd-to-rtems.py | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 62883681..da154b54 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ CFLAGS += -Ifreebsd/lib/libmemstat CFLAGS += -Ifreebsd/lib/libipsec CFLAGS += -Itestsuite/include CFLAGS += -Wall +CFLAGS += -Wno-format CFLAGS += -std=gnu99 CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d NEED_DUMMY_PIC_IRQ=yes diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py index f72e687b..f1220e16 100755 --- a/freebsd-to-rtems.py +++ b/freebsd-to-rtems.py @@ -429,6 +429,7 @@ class ModuleManager: 'CFLAGS += -Ifreebsd/lib/libipsec\n' \ 'CFLAGS += -Itestsuite/include\n' \ 'CFLAGS += -Wall\n' \ + 'CFLAGS += -Wno-format\n' \ 'CFLAGS += -std=gnu99\n' \ 'CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d\n' \ 'NEED_DUMMY_PIC_IRQ=yes\n' \