Feature #2684

Help autoconf with 64bit builds

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

Status:ResolvedStart date:2012-05-05
Priority:NormalDue 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


#1 Updated by Andrew Stormont almost 6 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.

#2 Updated by Andrew Stormont almost 6 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