1From 59402e3a61d14eb7ce8c2019ea1a87ad4bd28605 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Thu, 14 Nov 2019 10:13:53 +0800
4Subject: [PATCH] dont setup compiler flags -m32/-m64
5
6We don't want these to be setup by boost as we pass our own flags.
7
8Upstream-Status: Inappropriate [OE-specific]
9
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11---
12 tools/build/src/tools/gcc.jam | 14 --------------
13 1 file changed, 14 deletions(-)
14
15diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
16index c7e3cf3..24486e0 100644
17--- a/tools/build/src/tools/gcc.jam
18+++ b/tools/build/src/tools/gcc.jam
19@@ -430,20 +430,6 @@ local rule compile-link-flags ( * )
20 }
21
22 {
23-    # Handle address-model
24-    compile-link-flags <target-os>aix/<address-model>32 : -maix32 ;
25-    compile-link-flags <target-os>aix/<address-model>64 : -maix64 ;
26-
27-    compile-link-flags <target-os>hpux/<address-model>32 : -milp32 ;
28-    compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ;
29-
30-    local generic-os = [ set.difference $(all-os) : aix hpux ] ;
31-    local arch = power sparc x86 ;
32-    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
33-    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
34-}
35-
36-{
37     # Handle threading
38     local rule threading-flags ( * )
39     {
40--
412.7.4
42
43