diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn --- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn @@ -89,7 +89,6 @@ "HAVE_LIBPFM=", "HAVE_LIBPSAPI=", "HAVE_MALLCTL=", - "HAVE_MALLINFO2=", "HAVE_SIGNAL_H=1", "HAVE_STD_IS_TRIVIALLY_COPYABLE=1", "HAVE_STRERROR=1", @@ -143,6 +142,7 @@ "HAVE_LINK_H=1", "HAVE_LSEEK64=1", "HAVE_MALLINFO=1", + "HAVE_MALLINFO2=1", "HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1", ] } else { @@ -151,6 +151,7 @@ "HAVE_LINK_H=", "HAVE_LSEEK64=", "HAVE_MALLINFO=", + "HAVE_MALLINFO2=", "HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=", ] }