summaryrefslogtreecommitdiffstats
path: root/recipes/gnupg/gnupg-1.4.2.2/30_nm_always_check.patch
blob: 914f1475b7e0b10be5714a1073034d6f59ea944b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Originally the test for _'s on symbols was not done when cross-compiling and
it was assumed that the _'s were appended. The test does in fact work since
it simply compiles a file and then run's nm on it. So patch this to enable.
Without this x86 targets fail during linking since the assembler code has
the _'s appended when it shouldn't.

--- gnupg-1.4.2.2/acinclude.m4	2006/09/11 22:11:23	1.1
+++ gnupg-1.4.2.2/acinclude.m4	2006/09/11 22:17:25
@@ -673,11 +673,7 @@
         ac_cv_sys_symbol_underscore=yes
         ;;
     *)
-      if test "$cross_compiling" = yes; then
-         ac_cv_sys_symbol_underscore=yes
-      else
-         tmp_do_check="yes"
-      fi
+        tmp_do_check="yes"
        ;;
 esac