void-packages/srcpkgs/mit-scheme-c/patches/host_os-is-linux.patch

14 lines
374 B
Diff

Index: src/microcode/configure
===================================================================
--- src/microcode/configure.orig
+++ src/microcode/configure
@@ -5441,7 +5441,7 @@ EXE_NAME=mit-scheme-${mit_scheme_native_
DO_GCC_TESTS=no
GNU_LD=no
case ${host_os} in
-linux-gnu)
+linux-*)
M4_FLAGS="${M4_FLAGS} -P __linux__,1"
DO_GCC_TESTS=yes
GNU_LD=yes