summaryrefslogtreecommitdiff
path: root/debian/patches/ada-driver-check.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
commit8f6c4b0033c72f8ac14694c419a99458339dd6a9 (patch)
tree06c106e622a58100aa85a381b9b65d222b076df4 /debian/patches/ada-driver-check.diff
parent42156b5190f4fa150e1fab6777eb81e69d4db8c9 (diff)
downloadgcc-9-debian.tar.gz
Import gcc-9 (9.2.1-19)debian/9.2.1-19debian
Diffstat (limited to 'debian/patches/ada-driver-check.diff')
-rw-r--r--debian/patches/ada-driver-check.diff29
1 files changed, 0 insertions, 29 deletions
diff --git a/debian/patches/ada-driver-check.diff b/debian/patches/ada-driver-check.diff
deleted file mode 100644
index e6279b9..0000000
--- a/debian/patches/ada-driver-check.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-# DP: Simplify Ada driver check (we always build using the required
-# DP: Ada version. Needed for warnings on alpha.
-
-Index: b/src/config/acx.m4
-===================================================================
---- a/src/config/acx.m4
-+++ b/src/config/acx.m4
-@@ -381,7 +381,7 @@ acx_cv_cc_gcc_supports_ada=no
- # Other compilers, like HP Tru64 UNIX cc, exit successfully when
- # given a .adb file, but produce no object file. So we must check
- # if an object file was really produced to guard against this.
--errors=`(${CC} $1[]m4_ifval([$1], [ ])-c conftest.adb) 2>&1 || echo failure`
-+errors=`(${CC} $1[]m4_ifval([$1], [ ])-c conftest.adb) 2>/dev/null || echo failure`
- if test x"$errors" = x && test -f conftest.$ac_objext; then
- acx_cv_cc_gcc_supports_ada=yes
- fi
-Index: b/src/configure
-===================================================================
---- a/src/configure
-+++ b/src/configure
-@@ -5355,7 +5355,7 @@ acx_cv_cc_gcc_supports_ada=no
- # Other compilers, like HP Tru64 UNIX cc, exit successfully when
- # given a .adb file, but produce no object file. So we must check
- # if an object file was really produced to guard against this.
--errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
-+errors=`(${CC} -c conftest.adb) 2>/dev/null || echo failure`
- if test x"$errors" = x && test -f conftest.$ac_objext; then
- acx_cv_cc_gcc_supports_ada=yes
- fi