diff --git a/install-build-deps.sh b/install-build-deps.sh index 770804b38d..dcc2a020e4 100755 --- a/install-build-deps.sh +++ b/install-build-deps.sh @@ -19,10 +19,7 @@ ubuntu-* | pop-* | linuxmint-* | debian-* | raspbian-*) fedora-* | amzn-* | rhel-*) dnf install -y gcc-g++ cmake glibc-static libstdc++-static diffutils util-linux ;; -opensuse-leap-*) - zypper install -y make cmake gcc-c++ gcc11-c++ glibc-devel-static tar diffutils util-linux - ;; -opensuse-tumbleweed-*) +opensuse-*) zypper install -y make cmake gcc-c++ glibc-devel-static tar diffutils util-linux ;; gentoo-*) diff --git a/src/mold-wrapper.c b/src/mold-wrapper.c index a4951f3331..d63d4de104 100644 --- a/src/mold-wrapper.c +++ b/src/mold-wrapper.c @@ -9,7 +9,7 @@ #include #include -#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) +#if __has_include() # include #endif diff --git a/test/bug178.sh b/test/no-object-file.sh similarity index 100% rename from test/bug178.sh rename to test/no-object-file.sh