dhowells pushed to cross-gcc (f22). "Don't try to apply -Werror=format-security to gcc"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 7 09:08:46 UTC 2015
>From b5939291377f90f0e342bde0600a87696eb8d19a Mon Sep 17 00:00:00 2001
From: David Howells <dhowells at redhat.com>
Date: Fri, 27 Mar 2015 17:59:20 +0000
Subject: Don't try to apply -Werror=format-security to gcc
diff --git a/cross-gcc.spec b/cross-gcc.spec
index a45a318..7067e6d 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -375,6 +375,7 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcp
%ifarch %{ix86}
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
%endif
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
case "$OPT_FLAGS" in
*-fasynchronous-unwind-tables*)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/cross-gcc.git/commit/?h=f22&id=b5939291377f90f0e342bde0600a87696eb8d19a
More information about the scm-commits
mailing list