1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

Ports: Always set Python MACHDEP to version-less 'serenityos'

This is used for `sys.platform`, so it's important to get it right and
ideally never change it again. When not cross-compiling this would
append the `uname -r` version number, so let's explicitly override the
generated value and set it to `serenityos`. Various other systems do
this as well.
This commit is contained in:
Linus Groh 2021-05-06 16:46:43 +01:00
parent 8cfbeb78ff
commit f1791eca13
2 changed files with 22 additions and 6 deletions

View file

@ -14,7 +14,7 @@ Disables check for `RLIMIT_CORE` and subsequent `setrlimit()` call. Would be ena
## `fix-autoconf.patch`
As usual, make the `configure` script recognize Serenity.
As usual, make the `configure` script recognize Serenity. Also set `MACHDEP` (which is used for `sys.platform`) to a version-less `serenityos`, even when not cross-compiling.
## `remove-setlocale-from-preconfig.patch`