diff --git a/awslc.patch b/awslc.patch index ea550816c..1dcef17d6 100644 --- a/awslc.patch +++ b/awslc.patch @@ -29,13 +29,13 @@ #if defined(OPENSSL_WINDOWS) OPENSSL_MSVC_PRAGMA(warning(push, 3)) -+#if defined(__GNUC__) || defined(__clang__) -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wdeprecated" ++#if defined(__clang__) ++#pragma clang diagnostic push ++#pragma clang diagnostic ignored "-Wdeprecated" +#endif #include -+#if defined(__GNUC__) || defined(__clang__) -+#pragma GCC diagnostic pop ++#if defined(__clang__) ++#pragma clang diagnostic pop +#endif OPENSSL_MSVC_PRAGMA(warning(pop)) #endif