$NetBSD: patch-Makefile,v 1.2 2022/03/15 14:33:23 wiz Exp $ * Disable symbol comparison, it's fragile * Workaround for rebuild in install stage. --- Makefile.orig 2022-03-10 22:14:40.000000000 +0000 +++ Makefile @@ -545,9 +545,9 @@ check-symbols: startup_files libc # Check that the computed metadata matches the expected metadata. # This ignores whitespace because on Windows the output has CRLF line endings. - diff -wur "$(CURDIR)/expected/$(MULTIARCH_TRIPLE)" "$(SYSROOT_SHARE)" + #diff -wur "$(CURDIR)/expected/$(MULTIARCH_TRIPLE)" "$(SYSROOT_SHARE)" -install: finish +install: mkdir -p "$(INSTALL_DIR)" cp -r "$(SYSROOT)/lib" "$(SYSROOT)/share" "$(SYSROOT)/include" "$(INSTALL_DIR)"