From 0bf3e3fc037021c9a345d23ef286adc2d47d408b Mon Sep 17 00:00:00 2001 From: Niklas Angare Date: Sun, 12 Feb 2017 13:04:09 +0100 Subject: [PATCH] Fixed options for cross-compilation. Replaced with so that the correct options for the target are selected when cross-compiling. When not cross-compiling, it makes no difference as target-os by default mirrors host-os. --- example/Jamfile.v2 | 12 ++++++------ test/Jamfile.v2 | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index ac4f4abe..22da3e08 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -26,9 +26,9 @@ rule test_all acc:-lrt acc-pa_risc:-lrt gcc,windows:"-lole32 -loleaut32 -lpsapi -ladvapi32" - hpux,gcc:"-Wl,+as,mpas" - windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" - linux:"-lrt" + hpux,gcc:"-Wl,+as,mpas" + windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" + linux:"-lrt" : # test-files : # requirements ] ; @@ -43,9 +43,9 @@ rule test_all acc:-lrt acc-pa_risc:-lrt gcc-mingw:"-lole32 -loleaut32 -lpsapi -ladvapi32" - hpux,gcc:"-Wl,+as,mpas" - windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" - linux:"-lrt" + hpux,gcc:"-Wl,+as,mpas" + windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" + linux:"-lrt" ] ; } diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 58b81dd1..a09bf8f2 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -28,9 +28,9 @@ rule test_all acc:-lrt acc-pa_risc:-lrt gcc,windows:"-lole32 -loleaut32 -lpsapi -ladvapi32" - hpux,gcc:"-Wl,+as,mpas" - windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" - linux:"-lrt" + hpux,gcc:"-Wl,+as,mpas" + windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" + linux:"-lrt" ] ; }