kfreebsd
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 24 Jan 2015 22:06:27 +0000 (22:06 +0000)
committerSébastien Villemot <sebastien@debian.org>
Sat, 24 Jan 2015 22:06:27 +0000 (22:06 +0000)
Gbp-Pq: Name kfreebsd.diff

CONFIG/src/SpewMakeInc.c

index 2567789fd29f45f6b76a5ea22681513ea5a549bf..2a4c2c74a8cf54dc9854665e8396f58336c96fc2 100644 (file)
@@ -778,8 +778,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
+
       }
    }
    fprintf(fpout, "\n   F77SYSLIB = %s\n", f77lib ? f77lib : "");