diff options
Diffstat (limited to 'meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch')
-rw-r--r-- | meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch b/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch index a6fa1ea607..c2b7258e50 100644 --- a/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch +++ b/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch | |||
@@ -11,23 +11,27 @@ Upstream-Status: Pending | |||
11 | configure.in | 12 ++++++------ | 11 | configure.in | 12 ++++++------ |
12 | 1 files changed, 6 insertions(+), 6 deletions(-) | 12 | 1 files changed, 6 insertions(+), 6 deletions(-) |
13 | 13 | ||
14 | diff --git a/configure.in b/configure.in | 14 | Index: nspr/configure.in |
15 | index 39c96a3..99a03ac 100644 | 15 | =================================================================== |
16 | --- a/configure.in | 16 | --- nspr.orig/configure.in |
17 | +++ b/configure.in | 17 | +++ nspr/configure.in |
18 | @@ -1778,24 +1778,24 @@ tools are selected during the Xcode/Developer Tools installation.]) | 18 | @@ -1875,28 +1875,24 @@ tools are selected during the Xcode/Deve |
19 | PR_MD_ASFILES=os_Linux_ia64.s | 19 | PR_MD_ASFILES=os_Linux_ia64.s |
20 | ;; | 20 | ;; |
21 | x86_64) | 21 | x86_64) |
22 | - if test -n "$USE_64"; then | 22 | - if test -n "$USE_64"; then |
23 | - PR_MD_ASFILES=os_Linux_x86_64.s | 23 | - PR_MD_ASFILES=os_Linux_x86_64.s |
24 | - else | 24 | - elif test -n "$USE_X32"; then |
25 | + if test -n "$USE_N32"; then | 25 | + if test -n "$USE_X32"; then |
26 | AC_DEFINE(i386) | 26 | + AC_DEFINE(i386) |
27 | PR_MD_ASFILES=os_Linux_x86.s | 27 | PR_MD_ASFILES=os_Linux_x86_64.s |
28 | CC="$CC -m32" | 28 | CC="$CC -mx32" |
29 | CXX="$CXX -m32" | 29 | CXX="$CXX -mx32" |
30 | + else | 30 | else |
31 | - AC_DEFINE(i386) | ||
32 | - PR_MD_ASFILES=os_Linux_x86.s | ||
33 | - CC="$CC -m32" | ||
34 | - CXX="$CXX -m32" | ||
31 | + PR_MD_ASFILES=os_Linux_x86_64.s | 35 | + PR_MD_ASFILES=os_Linux_x86_64.s |
32 | fi | 36 | fi |
33 | ;; | 37 | ;; |
@@ -46,6 +50,3 @@ index 39c96a3..99a03ac 100644 | |||
46 | fi | 50 | fi |
47 | ;; | 51 | ;; |
48 | m68k) | 52 | m68k) |
49 | -- | ||
50 | 1.7.1 | ||
51 | |||