dhowells pushed to cross-gcc (f22). "Fix insertion of -fno-asynchronous-unwind-tables in appropriate Makefile.in"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 09:08:46 UTC 2015


>From cc09096cf39ffaf866518364a2843404cb2f3280 Mon Sep 17 00:00:00 2001
From: David Howells <dhowells at redhat.com>
Date: Fri, 27 Mar 2015 17:21:53 +0000
Subject: Fix insertion of -fno-asynchronous-unwind-tables in appropriate
 Makefile.in


diff --git a/cross-gcc.spec b/cross-gcc.spec
index 3f3fc46..a45a318 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -378,8 +378,8 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
 OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
 case "$OPT_FLAGS" in
   *-fasynchronous-unwind-tables*)
-    sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables/' \
-      ../gcc/Makefile.in
+    sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables /' \
+      %{srcdir}/libgcc/Makefile.in
     ;;
 esac
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/cross-gcc.git/commit/?h=f22&id=cc09096cf39ffaf866518364a2843404cb2f3280


More information about the scm-commits mailing list