Debian Codegraph @

monero/contrib/depends/patches/boost/fix_aroptions.patch

raw
1 --- boost_1_64_0/tools/build/src/tools/gcc.jam.O 2017-04-17 03:22:26.000000000 +0100
2 +++ boost_1_64_0/tools/build/src/tools/gcc.jam 2019-11-15 15:46:16.957937137 +0000
3 @@ -243,6 +243,8 @@
4 {
5 ECHO notice: using gcc archiver :: $(condition) :: $(archiver[1]) ;
6 }
7 + local arflags = [ feature.get-values <arflags> : $(options) ] ;
8 + toolset.flags gcc.archive .ARFLAGS $(condition) : $(arflags) ;
9
10 # - Ranlib.
11 local ranlib = [ common.get-invocation-command gcc
12 @@ -970,6 +972,7 @@
13 # logic in intel-linux, but that is hardly worth the trouble as on Linux, 'ar'
14 # is always available.
15 .AR = ar ;
16 +.ARFLAGS = rc ;
17 .RANLIB = ranlib ;
18
19 toolset.flags gcc.archive AROPTIONS <archiveflags> ;
20 @@ -1011,7 +1014,7 @@
21 #
22 actions piecemeal archive
23 {
24 - "$(.AR)" $(AROPTIONS) rc "$(<)" "$(>)"
25 + "$(.AR)" $(AROPTIONS) $(.ARFLAGS) "$(<)" "$(>)"
26 "$(.RANLIB)" "$(<)"
27 }
28