mirror of
https://github.com/troglobit/finit.git
synced 2026-11-15 19:13:11 +00:00
Don't set Pentium M arch by default
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
37af9970d4
commit
b9583fb354
2 files changed
+4
-2
No files matched your search
@@ -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