[rtems-libbsd commit] Add -Wno-format

Sebastian Huber sebh at rtems.org
Fri Dec 20 10:16:34 UTC 2013


Module:    rtems-libbsd
Branch:    master
Commit:    25d028cd677b737c7a45aff38347115ca8048aa8
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=25d028cd677b737c7a45aff38347115ca8048aa8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Oct 18 14:13:58 2013 +0200

Add -Wno-format

---

 Makefile            |    1 +
 freebsd-to-rtems.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 6288368..da154b5 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 f72e687..f1220e1 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' \




More information about the vc mailing list