1--- src/3rdparty/chromium/third_party/nasm/BUILD.gn.orig 2025-08-15 18:30:00 UTC 2+++ src/3rdparty/chromium/third_party/nasm/BUILD.gn 3@@ -63,6 +63,13 @@ config("nasm_config") { 4 5 defines = [ "HAVE_CONFIG_H" ] 6 7+ _string_h_lines = 8+ read_file("/usr/include/string.h", "list lines") 9+ _mempcpy = filter_include(_string_h_lines, [ "*mempcpy*" ]) 10+ if (_mempcpy != []) { 11+ defines += [ "HAVE_MEMPCPY=1" ] 12+ } 13+ 14 if (is_clang) { 15 cflags = [ 16 # The inline functions in NASM's headers flag this. 17