From b73f1f280eb0ae8321381d7d7dbd7a82abf9af63 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 6 Feb 2022 03:14:14 -0800 Subject: [PATCH] libFLAC: Fix so Intel compiles Didn't do those pragmas correctly Signed-off-by: Christopher Snowhill --- Frameworks/FLAC/flac-1.3.3/src/libFLAC/bitreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/FLAC/flac-1.3.3/src/libFLAC/bitreader.c b/Frameworks/FLAC/flac-1.3.3/src/libFLAC/bitreader.c index 7466ad4d2..2f23cb863 100644 --- a/Frameworks/FLAC/flac-1.3.3/src/libFLAC/bitreader.c +++ b/Frameworks/FLAC/flac-1.3.3/src/libFLAC/bitreader.c @@ -1002,7 +1002,6 @@ extern FLAC__bool FLAC__bitreader_read_uint32_little_endian(FLAC__BitReader *br, #endif -#pragma clang attribute push (__attribute__((target("lzcnt"))), apply_to=function) FLAC__bool FLAC__bitreader_read_unary_unsigned__LZCNT(FLAC__BitReader* br, uint32_t* val) { uint32_t i; @@ -1201,5 +1200,6 @@ FLAC__bool FLAC__bitreader_read_rice_signed_block__LZCNT(FLAC__BitReader* br, in return true; } +#pragma clang attribute pop #endif // FLAC__SUPPORT_LZCNT