[Glibc-bsd-commits] r4942 - trunk/kfreebsd-10/debian
Robert Millan
rmh at alioth.debian.org
Sun Sep 15 12:51:44 UTC 2013
Author: rmh
Date: 2013-09-15 12:51:43 +0000 (Sun, 15 Sep 2013)
New Revision: 4942
Modified:
trunk/kfreebsd-10/debian/changelog
trunk/kfreebsd-10/debian/rules
Log:
Disable -Werror only for non-Clang compilers.
Modified: trunk/kfreebsd-10/debian/changelog
===================================================================
--- trunk/kfreebsd-10/debian/changelog 2013-09-14 12:34:17 UTC (rev 4941)
+++ trunk/kfreebsd-10/debian/changelog 2013-09-15 12:51:43 UTC (rev 4942)
@@ -1,6 +1,7 @@
kfreebsd-10 (10.0~svn255412-2) UNRELEASED; urgency=low
* Remove one gratuitous round of src copying.
+ * Disable -Werror only for non-Clang compilers.
-- Robert Millan <rmh at debian.org> Sat, 14 Sep 2013 14:34:07 +0200
Modified: trunk/kfreebsd-10/debian/rules
===================================================================
--- trunk/kfreebsd-10/debian/rules 2013-09-14 12:34:17 UTC (rev 4941)
+++ trunk/kfreebsd-10/debian/rules 2013-09-15 12:51:43 UTC (rev 4942)
@@ -44,9 +44,14 @@
FLAVOR_DIR := flavor-$(version)-$(abiname)
ORIG_DIR := kfreebsd-$(major)-$(tar_version)
ORIG_TAR := kfreebsd-$(major)_$(tar_version).orig.tar.xz
-MAKE := make MACHINE_ARCH=$(kfreebsd_cpu) WERROR= -DWITHOUT_SOURCELESS
+MAKE := make MACHINE_ARCH=$(kfreebsd_cpu) -DWITHOUT_SOURCELESS
PATH := /usr/lib/freebsd:$(PATH)
+ifneq ($(cc_cmd), clang)
+# Disable -Werror only for non-Clang compilers
+MAKE += WERROR=
+endif
+
MAKE += -DWITHOUT_CLANG_IS_CC
MAKE += -DWITHOUT_CTF
More information about the Glibc-bsd-commits
mailing list