tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

Blame SOURCES/boost-1.66.0-address-model.patch

f4a353
--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2018-01-19 13:09:56.041685502 +0000
f4a353
+++ boost_1_66_0/tools/build/src/tools/gcc.jam  2018-01-19 13:09:56.042685500 +0000
f4a353
@@ -421,7 +421,9 @@
f4a353
 
f4a353
 rule set-address-model-options ( targets * : sources * : properties * )
f4a353
 {
f4a353
-    local model = [ feature.get-values address-model : $(properties) ] ;
f4a353
+    # For RPM builds the address model flag is passed in %{optflags}.
f4a353
+    # local model = [ feature.get-values address-model : $(properties) ] ;
f4a353
+    local model ;
f4a353
     if $(model)
f4a353
     {
f4a353
         local option ;