Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1513)

Side by Side Diff: third_party/instrumented_libraries/patches/pulseaudio.diff

Issue 689113002: Instrumented libraries: partially fix pulseaudio build on Trusty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 diff -rupN ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h ../pulseaudio-1.1-pa tched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h
2 --- ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h 2011-10-20 16:54:16.0000 00000 +0400
3 +++ ../pulseaudio-1.1-patched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h 2014-01-30 16:57:43.113946495 +0400
4 @@ -29,8 +29,11 @@
5
6 #include "sbc_primitives.h"
7
8 +// The inline asm causes errors in clang builds. We don't want inline asm in
9 +// instrumented builds anyway.
10 #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__)) && \
11 - !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
12 + !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15) && \
13 + !defined(__clang__)
14
15 #define SBC_BUILD_WITH_MMX_SUPPORT
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698