summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch
blob: 913810a34000d1d9321ad23804bd44a3be40335a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From bbb0845c0a79238fb2e84cca41826a0944b6ce7e Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Thu, 14 Nov 2019 10:13:53 +0800
Subject: [PATCH] dont setup compiler flags -m32/-m64

We don't want these to be setup by boost as we pass our own flags.

Upstream-Status: Inappropriate [OE-specific]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 tools/build/src/tools/gcc.jam | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
index 493a43e6d..42dccbdfe 100644
--- a/tools/build/src/tools/gcc.jam
+++ b/tools/build/src/tools/gcc.jam
@@ -360,20 +360,6 @@ local rule compile-link-flags ( * )
     compile-link-flags <link>shared/<target-os>$(non-windows) : -fPIC ;
 }
 
-{
-    # Handle address-model
-    compile-link-flags <target-os>aix/<address-model>32 : -maix32 ;
-    compile-link-flags <target-os>aix/<address-model>64 : -maix64 ;
-
-    compile-link-flags <target-os>hpux/<address-model>32 : -milp32 ;
-    compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ;
-
-    local generic-os = [ set.difference $(all-os) : aix hpux ] ;
-    local arch = power sparc x86 ;
-    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
-    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
-}
-
 {
     # Handle threading
     local rule threading-flags ( * )