On Monday 12 January 2015 17:37:44 Oliver Kowalke wrote:
2015-01-12 16:05 GMT+01:00 mefyl
: Running that exact compilation adding "-arch arm64" fixes it.
hmm - seams to be a issue of boost.build if option -arch gets the wrong value
For the record, this was indeed a boost.build issue fixable on develop with this patch: diff --git a/src/tools/clang-darwin.jam b/src/tools/clang-darwin.jam index 51e5fad..2976030 100644 --- a/src/tools/clang-darwin.jam +++ b/src/tools/clang-darwin.jam @@ -72,6 +72,8 @@ rule init ( version ? : command * : options * ) SPACE = " " ; +flags clang-darwin OPTIONS <architecture>arm <address-model>64 : -arch arm64 ; + flags clang-darwin.compile OPTIONS <cflags> ; flags clang-darwin.compile.c++ OPTIONS <cxxflags> ; # flags clang-darwin.compile INCLUDES <include> ; Cheers, -- Quentin "mefyl" Hocquet CTO @ infinit.io