From 0060940d84d859bc71f18789e924c61d0f0f20ac Mon Sep 17 00:00:00 2001
From: Justine Tunney <jtunney@gmail.com>
Date: Mon, 19 Sep 2022 15:43:52 -0700
Subject: [PATCH] Fix MODE=opt build

---
 third_party/zlib/insert_string.internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_party/zlib/insert_string.internal.h b/third_party/zlib/insert_string.internal.h
index 2d2b83a82..8a38bf387 100644
--- a/third_party/zlib/insert_string.internal.h
+++ b/third_party/zlib/insert_string.internal.h
@@ -63,7 +63,7 @@ noubsan local INLINE Pos insert_string_simd(deflate_state* const s,
   if (s->level >= 6) val &= 0xFFFFFF;
 
   /* Compute hash from the CRC32C of |val|. */
-  asm("crc32\t%1,%0" : "+r"(h) : "rm"(val));
+  asm("crc32l\t%1,%0" : "+r"(h) : "rm"(val));
 
   ret = s->head[h & s->hash_mask];
   s->head[h & s->hash_mask] = str;