2016-11-04 22:17:02 +00:00
|
|
|
From cdd42ba82210bfaa97cfa010eaac3d805b80cb49 Mon Sep 17 00:00:00 2001
|
2016-11-03 18:32:19 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Thu, 3 Nov 2016 19:50:20 +0000
|
2016-11-09 16:03:33 +00:00
|
|
|
Subject: [PATCH 4/6] Don't rewrite -Werror.
|
2016-11-03 18:32:19 +00:00
|
|
|
|
|
|
|
In Fedora our CFLAGS contains -Wall -Werror=format-security.
|
|
|
|
|
|
|
|
As written, the sed phrase substitutes this with -Wall=format-security
|
|
|
|
which is bogus. Remove this rewriting completely.
|
|
|
|
---
|
|
|
|
Makefile | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
|
|
index 85be2db..1764d0e 100644
|
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
|
|
|
@@ -409,7 +409,6 @@ utils/config.ml: utils/config.mlp config/Makefile
|
|
|
|
-e 's|%%CCOMPTYPE%%|cc|' \
|
|
|
|
-e 's|%%BYTECC%%|$(BYTECC) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)|' \
|
|
|
|
-e 's|%%NATIVECC%%|$(NATIVECC) $(NATIVECCCOMPOPTS)|' \
|
|
|
|
- -e '/c_compiler =/s| -Werror||' \
|
|
|
|
-e 's|%%PACKLD%%|$(PACKLD)|' \
|
|
|
|
-e 's|%%BYTECCLIBS%%|$(BYTECCLIBS)|' \
|
|
|
|
-e 's|%%NATIVECCLIBS%%|$(NATIVECCLIBS)|' \
|
|
|
|
--
|
|
|
|
2.9.3
|
|
|
|
|