aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/crash/crash-7.0.9/7001force_define_architecture.patch
blob: 0d44c7f176a70bfb5d2b98efc41ecf14d0e44536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -uprN crash-5.1.8.org/configure.c crash-5.1.8/configure.c
--- crash-5.1.8.org/configure.c	2011-09-17 04:01:12.000000000 +0900
+++ crash-5.1.8/configure.c	2012-09-13 13:28:45.393344108 +0900
@@ -391,6 +391,9 @@ get_current_configuration(struct support
 			arch_mismatch(sp);
 	}
 
+	/** Force define archtecture */
+	target_data.target = FORCE_DEFINE_ARCH;
+
         if ((fp = fopen("Makefile", "r")) == NULL) {
 		perror("Makefile");
 		goto get_release;