summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/configure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index ea9c8b3c2..c3d4ea0ba 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1741,6 +1741,11 @@ int main ()
doc.add( 'GCC.sysroot', '' )
doc.add( 'GCC.minver', '' )
+ if build.match( 'i?86-*' ):
+ doc.add( 'LIBHB.GCC.D', 'ARCH_X86_32', append=True )
+ elif build.match( 'x86_64-*' ):
+ doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True )
+
if options.enable_asm and ( not Tools.yasm.fail or options.enable_local_yasm ):
asm = ''
if build.match( 'i?86-*' ):