mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
Don't set Pentium M arch by default
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ BINS = finit-mod finit-alt finit-mdv #finit-exb
|
||||
CFLAGS += -U_FORTIFY_SOURCE
|
||||
|
||||
# Use -march=pentium-m to build for Eeepc
|
||||
CFLAGS += -march=pentium-m
|
||||
#CFLAGS += -march=pentium-m
|
||||
|
||||
# Omit the first /sbin/hwclock if CONFIG_RTC_HCTOSYS is enabled in the kernel
|
||||
#CFLAGS += -DNO_HCTOSYS
|
||||
|
||||
+3
-1
@@ -194,7 +194,6 @@ int main()
|
||||
int i;
|
||||
FILE *f;
|
||||
char line[LINE_SIZE];
|
||||
int fd;
|
||||
struct sigaction sa, act;
|
||||
sigset_t nmask, nmask2;
|
||||
char username[USERNAME_SIZE] = DEFUSER;
|
||||
@@ -208,6 +207,9 @@ int main()
|
||||
#ifdef RUNLEVEL
|
||||
struct utmp entry;
|
||||
#endif
|
||||
#ifdef PAM_CONSOLE
|
||||
int fd;
|
||||
#endif
|
||||
|
||||
chdir("/");
|
||||
umask(022);
|
||||
|
||||
Reference in New Issue
Block a user