mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-08 23:53:31 +02:00
Update Mac build for flac 1.3.1
This commit is contained in:
11
lib-src/libflac/bypass-constraint-problem.patch
Normal file
11
lib-src/libflac/bypass-constraint-problem.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- ../flac-1.3.1/src/libFLAC/cpu.c 2014-11-26 19:19:47.000000000 -0600
|
||||
+++ src/libFLAC/cpu.c 2015-05-01 04:21:19.000000000 -0500
|
||||
@@ -475,7 +475,7 @@
|
||||
{
|
||||
#if (defined _MSC_VER || defined __INTEL_COMPILER) && defined FLAC__AVX_SUPPORTED
|
||||
return (FLAC__uint32)_xgetbv(0);
|
||||
-#elif defined __GNUC__
|
||||
+#elif defined __GNUC__ && !(__GNUC__ == 4 && __GNUC_MINOR__ == 0)
|
||||
FLAC__uint32 lo, hi;
|
||||
asm volatile (".byte 0x0f, 0x01, 0xd0" : "=a"(lo), "=d"(hi) : "c" (0));
|
||||
return lo;
|
Reference in New Issue
Block a user