Reproducible Builds: Do not embed build-server kernel version on Linux
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user