You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

  1. Index: boost_1_57_0/tools/build/src/tools/gcc.jam
  2. ===================================================================
  3. --- boost_1_57_0.orig/tools/build/src/tools/gcc.jam
  4. +++ boost_1_57_0/tools/build/src/tools/gcc.jam
  5. @@ -1037,7 +1037,7 @@ rule setup-threading ( targets * : sourc
  6. case *bsd : option = -pthread ; # There is no -lrt on BSD.
  7. case sgi : # gcc on IRIX does not support multi-threading.
  8. case darwin : # No threading options.
  9. - case * : option = -pthread ; libs = rt ;
  10. + case * : # pass appropriate options via OpenWrt
  11. }
  12. if $(option)
  13. Index: boost_1_57_0/tools/build/src/tools/gcc.py
  14. ===================================================================
  15. --- boost_1_57_0.orig/tools/build/src/tools/gcc.py
  16. +++ boost_1_57_0/tools/build/src/tools/gcc.py
  17. @@ -700,8 +700,8 @@ elif bjam.variable('UNIX'):
  18. # Darwin has no threading options, don't set anything here.
  19. pass
  20. else:
  21. - flags('gcc', 'OPTIONS', ['<threading>multi'], ['-pthread'])
  22. - flags('gcc', 'FINDLIBS-SA', [], ['rt'])
  23. + # pass appropriate options via OpenWrt
  24. + pass
  25. def cpu_flags(toolset, variable, architecture, instruction_set, values, default=None):
  26. #FIXME: for some reason this fails. Probably out of date feature code