-
Notifications
You must be signed in to change notification settings - Fork 0
/
source_gcc_configure.patch
41 lines (39 loc) · 1.06 KB
/
source_gcc_configure.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/configure b/configure
index 32a3863..2ed2518 100755
--- a/configure
+++ b/configure
@@ -6920,7 +6920,7 @@ esac
# Some systems (e.g., one of the i386-aix systems the gas testers are
# using) don't handle "\$" correctly, so don't use it here.
-tooldir='${exec_prefix}'/${target_noncanonical}
+tooldir='${exec_prefix}'
build_tooldir=${tooldir}
# Create a .gdbinit file which runs the one in srcdir
diff --git a/gcc/configure b/gcc/configure
index ea73b15..47a2baf 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23245,6 +23245,9 @@ else
gcc_cv_as_cfi_directive=yes
fi
;;
+ ve-nec*-*-*)
+ gcc_cv_as_cfi_directive=no
+ ;;
*-*-*)
gcc_cv_as_cfi_directive=yes
;;
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9d4c792..8ec0063 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2798,6 +2798,9 @@ gcc_GAS_CHECK_FEATURE([cfi directives], gcc_cv_as_cfi_directive,
gcc_cv_as_cfi_directive=yes
fi
;;
+ ve-nec*-*-*)
+ gcc_cv_as_cfi_directive=no
+ ;;
*-*-*)
gcc_cv_as_cfi_directive=yes
;;