Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646070 | Differences between
and this patch

Collapse All | Expand All

(-)a/boostcpp.jam (-2 / +4 lines)
Lines 676-692 Link Here
676
    return [ property.select <target-os> <toolset> $(toolset-version-property) : $(properties) ] ;
676
    return [ property.select <target-os> <toolset> $(toolset-version-property) : $(properties) ] ;
677
}
677
}
678
678
679
feature.feature deduced-address-model : 32 64 : propagated optional composite hidden ;
679
feature.feature deduced-address-model : 32 32_64 64 : propagated optional composite hidden ;
680
feature.compose <deduced-address-model>32 : <address-model>32 ;
680
feature.compose <deduced-address-model>32 : <address-model>32 ;
681
feature.compose <deduced-address-model>32_64 : <address-model>32_64 ;
681
feature.compose <deduced-address-model>64 : <address-model>64 ;
682
feature.compose <deduced-address-model>64 : <address-model>64 ;
682
683
683
rule deduce-address-model ( properties * )
684
rule deduce-address-model ( properties * )
684
{
685
{
685
    local result ;
686
    local result ;
686
    local filtered = [ toolset-properties $(properties) ] ;
687
    local filtered = [ toolset-properties $(properties) ] ;
687
    local names = 32 64 ;
688
    local names = 32 32_64 64 ;
688
    local idx = [ configure.find-builds "default address-model" : $(filtered)
689
    local idx = [ configure.find-builds "default address-model" : $(filtered)
689
        : /boost/architecture//32 "32-bit"
690
        : /boost/architecture//32 "32-bit"
691
        : /boost/architecture//32_64 "64-bit x32"
690
        : /boost/architecture//64 "64-bit" ] ;
692
        : /boost/architecture//64 "64-bit" ] ;
691
    result = $(names[$(idx)]) ;
693
    result = $(names[$(idx)]) ;
692
694
(-)a/libs/config/checks/architecture/32_64.cpp (+3 lines)
Line 0 Link Here
1
#if !defined(__x86_64__) || !defined(__ILP32__)
2
#error "Not x86_64 x32 abi"
3
#endif
(-)a/libs/config/checks/architecture/32.cpp (+3 lines)
Lines 6-9 Link Here
6
// accompanying file LICENSE_1_0.txt or copy at
6
// accompanying file LICENSE_1_0.txt or copy at
7
// http://www.boost.org/LICENSE_1_0.txt)
7
// http://www.boost.org/LICENSE_1_0.txt)
8
8
9
#ifdef __x86_64__
10
#error
11
#endif
9
int test[sizeof(void*) == 4? 1 : -1];
12
int test[sizeof(void*) == 4? 1 : -1];
(-)a/libs/config/checks/architecture/64.cpp (+3 lines)
Lines 6-9 Link Here
6
// accompanying file LICENSE_1_0.txt or copy at
6
// accompanying file LICENSE_1_0.txt or copy at
7
// http://www.boost.org/LICENSE_1_0.txt)
7
// http://www.boost.org/LICENSE_1_0.txt)
8
8
9
#ifdef __ILP32__
10
#error
11
#endif
9
int test[sizeof(void*) == 8? 1 : -1];
12
int test[sizeof(void*) == 8? 1 : -1];
(-)a/libs/config/checks/architecture/Jamroot.jam (+1 lines)
Lines 13-18 Link Here
13
        ; 
13
        ; 
14
14
15
obj 32 : 32.cpp ;
15
obj 32 : 32.cpp ;
16
obj 32_64 : 32_64.cpp ;
16
obj 64 : 64.cpp ;
17
obj 64 : 64.cpp ;
17
18
18
obj arm      : arm.cpp ;
19
obj arm      : arm.cpp ;

Return to bug 646070