martin f. krafft: initial checkin

Martin F. Krafft madduck at alioth.debian.org
Sun Sep 11 17:21:09 UTC 2011


Module: mdadm
Branch: debian/no-Werror
Commit: 62021b4faaad0df2c3875a4f4d3314a01494f97c
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=62021b4faaad0df2c3875a4f4d3314a01494f97c

Author: martin f. krafft <madduck at debian.org>
Date:   Sun Sep 11 12:43:43 2011 +0200

initial checkin

---

 .topdeps |    1 +
 .topmsg  |    8 ++++++++
 Makefile |    2 +-
 3 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/.topdeps b/.topdeps
new file mode 100644
index 0000000..1f7391f
--- /dev/null
+++ b/.topdeps
@@ -0,0 +1 @@
+master
diff --git a/.topmsg b/.topmsg
new file mode 100644
index 0000000..7ccd1d8
--- /dev/null
+++ b/.topmsg
@@ -0,0 +1,8 @@
+From: martin f. krafft <madduck at debian.org>
+Subject: Remove -Werror from compiler flags
+
+-Werror seems like a bad idea on released/packaged code because a toolchain
+update (introducing new warnings) could break the build. We'll let upstream
+use it to beautify the code, but remove it for out builds.
+
+Signed-off-by: martin f. krafft <madduck at debian.org>
diff --git a/Makefile b/Makefile
index 72087be..3644cdd 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIB
 
 CC = $(CROSS_COMPILE)gcc
 CXFLAGS = -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
 ifdef WARN_UNUSED
 CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O
 endif




More information about the pkg-mdadm-commits mailing list