Feature #2684

Help autoconf with 64bit builds

Added by Alasdair Lumsden almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-05-05
Priority:Normal Due date:
Assignee:Andrew Stormont % Done:


Category:make-rules, tools, transforms
Target version:-
Difficulty:Bite-size Tags:needs-triage


When doing 64bit builds, we supply -m64 to CFLAGS and LDFLAGS, but no hint is given to autoconf that we're doing a 64bit build. This can have consequences for projects leveraging autoconf/libtool heavily where they think they're doing a 32bit build.

Setting the following lets them know we're doing a 64bit build:

CONFIGURE_OPTIONS.64 += --build=x86_64-pc-solaris$(SOLARIS_VERSION)

I'll need to work out the equivalent for SPARC.

Related issues

related to illumos-userland - Bug #2632: GNU_ARCH should be defined globally Resolved 2012-04-17


Updated by Andrew Stormont almost 3 years ago

After #2632 goes in I suggest that we add a GNU_ARCH_64 variable and add pass --build for both 32 and 64bit builds.

Updated by Andrew Stormont almost 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from Alasdair Lumsden to Andrew Stormont

Fixed in Fixed in 66a35caef41c.

Also available in: Atom PDF