kfreebsd
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 10 Aug 2017 16:39:08 +0000 (17:39 +0100)
committerSébastien Villemot <sebastien@debian.org>
Thu, 10 Aug 2017 16:39:08 +0000 (17:39 +0100)
Gbp-Pq: Name kfreebsd.patch

CONFIG/src/SpewMakeInc.c

index edcc2f10ef24ce39b420cfa0fa8a433a9b913ceb..26ff92b49e2c3749c2a89571abdacf8e82f6abf6 100644 (file)
@@ -794,8 +794,10 @@ int main(int nargs, char **args)
             fprintf(fpout, " -melf_i386");
          else if (ptrbits == 64)
             fprintf(fpout, " -melf_x86_64");
-         if (OS == OSFreeBSD)
-            fprintf(fpout, "_fbsd");
+ #ifdef __FreeBSD_kernel__
+          fprintf(fpout, "_fbsd");
+#endif
+
       }
    }
    if (MachIsS390(mach))