1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Remove objtype environment variable from init.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-06-20 00:06:39 +02:00
parent 6dfd2fb6fa
commit 0cd7fb6b76

View file

@ -450,10 +450,6 @@ int main(int /*argc*/, char* /*argv*/[])
// Set the default file creation mask.
umask(022);
// By default, compile to the same architecture that the kernel told us that
// we are running.
setenv("objtype", getenv("cputype"), 0);
// Set up the PATH variable.
const char* prefix = "/";
const char* cputype = getenv("cputype");