tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

00_fix_build_errors.patch (1097B)


      1 diff --git a/include/libyuv/row.h b/include/libyuv/row.h
      2 --- a/include/libyuv/row.h
      3 +++ b/include/libyuv/row.h
      4 @@ -116,7 +116,8 @@ extern "C" {
      5 
      6 // The following functions fail on gcc/clang 32 bit with fpic and framepointer.
      7 // caveat: clangcl uses row_win.cc which works.
      8 -#if (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
      9 +#if !defined(MOZ_PROFILING) && \
     10 +    (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
     11      defined(_MSC_VER)) &&                                             \
     12     !defined(LIBYUV_ENABLE_ROWWIN)
     13 // TODO(fbarchard): fix build error on android_full_debug=1
     14 @@ -124,7 +125,8 @@ extern "C" {
     15 #define HAS_I422ALPHATOARGBROW_SSSE3
     16 #define HAS_I444ALPHATOARGBROW_SSSE3
     17 #endif
     18 -#if (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
     19 +#if !defined(MOZ_PROFILING) && \
     20 +    (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
     21      defined(_MSC_VER)) &&                                             \
     22     !defined(LIBYUV_ENABLE_ROWWIN)
     23 // TODO(fbarchard): fix build error on android_full_debug=1