Reproducible Builds: Do not embed build-server kernel version on Linux

This commit is contained in:
kpcyrd
2024-03-22 11:26:58 +01:00
parent abe908277a
commit 6370ad16e7

View File

@@ -63,6 +63,7 @@ main(int argc, char *argv[])
_exit (1); _exit (1);
} }
#else #else
#ifndef __linux__
if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) || if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) ||
strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) || strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) ||
strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) { strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) {
@@ -74,6 +75,7 @@ main(int argc, char *argv[])
fprintf (stderr, "you should recompile libgtop and dependent " fprintf (stderr, "you should recompile libgtop and dependent "
"applications.\n"); "applications.\n");
} }
#endif
#endif #endif
glibtop_machine_new (glibtop_global_server); glibtop_machine_new (glibtop_global_server);