Merge lp:~trond-norbye/pandora-build/32-bit-build into lp:pandora-build

Proposed by Trond Norbye
Status: Merged
Merged at revision: 270
Proposed branch: lp:~trond-norbye/pandora-build/32-bit-build
Merge into: lp:pandora-build
Diff against target: 24 lines (+3/-3)
1 file modified
m4/pandora_64bit.m4 (+3/-3)
To merge this branch: bzr merge lp:~trond-norbye/pandora-build/32-bit-build
Reviewer Review Type Date Requested Status
Monty Taylor Pending
Review via email: mp+50731@code.launchpad.net

Description of the change

Compilation failed on my old p4 box due to the fact that it tried to add -m64 unless I explicitly specified --disable-64bit... This patch "hardcodes" --disable-64bit on 32 bit platforms...

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'm4/pandora_64bit.m4'
--- m4/pandora_64bit.m4 2010-12-23 18:32:12 +0000
+++ m4/pandora_64bit.m4 2011-02-22 12:30:31 +0000
@@ -20,9 +20,9 @@
20 [isainfo_b=`${ISAINFO} -b`],20 [isainfo_b=`${ISAINFO} -b`],
21 [isainfo_b="x"])21 [isainfo_b="x"])
2222
23 AS_IF([test "$isainfo_b" != "x"],[23 AS_IF([test "$isainfo_b" != "x" -a "$isainfo_b" != "32"],[
2424
25 isainfo_k=`${ISAINFO} -k` 25 isainfo_k=`${ISAINFO} -k`
26 DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_b}"26 DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_b}"
2727
28 AS_IF([test "x$ac_enable_64bit" = "xyes"],[28 AS_IF([test "x$ac_enable_64bit" = "xyes"],[
@@ -32,7 +32,7 @@
32 ])32 ])
3333
34 AS_IF([test "x$libdir" = "x\${exec_prefix}/lib"],[34 AS_IF([test "x$libdir" = "x\${exec_prefix}/lib"],[
35 dnl The user hasn't overridden the default libdir, so we'll 35 dnl The user hasn't overridden the default libdir, so we'll
36 dnl the dir suffix to match solaris 32/64-bit policy36 dnl the dir suffix to match solaris 32/64-bit policy
37 libdir="${libdir}/${isainfo_k}"37 libdir="${libdir}/${isainfo_k}"
38 ])38 ])

Subscribers

People subscribed via source and target branches

to all changes: