diff options
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/usrp/dboard/twinrx/twinrx_gain_tables.hpp | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.hpp b/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.hpp index f02241745..49a7260bd 100644 --- a/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.hpp +++ b/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.hpp @@ -13,6 +13,11 @@  #include <uhd/types/ranges.hpp>  #include <stdint.h> +// Turn off optimization on macOS/Clang. With optimizations +// on, twinrx_gain_tables hours to build +#if defined(UHD_PLATFORM_MACOS) +#   pragma clang optimize off +#endif  namespace uhd { namespace usrp { namespace dboard { namespace twinrx {  class twinrx_gain_config_t @@ -79,4 +84,8 @@ private:  }}}} // namespace uhd::usrp::dboard::twinrx +#if defined(UHD_PLATFORM_MACOS) +#   pragma clang optimize on +#endif +  #endif /* INCLUDED_DBOARD_TWINRX_GAIN_TABLES_HPP */  | 
