blob: 273a213c201034c680d54a737b4e9e7576fd9bcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#define HAVE_SYSDEP
#define HAVE_KERNEL_FLAGS
static void
check_sysdep (conf_t * conf, struct utsname *un)
{
strcpy (conf->cplusplus, "g++ -fno-rtti -fno-exceptions -I.");
strcpy (conf->platform, "i86pc");
}
static void
add_kernel_flags (FILE * f)
{
# if defined(__x86_64__)
fprintf (f,
"CFLAGS += -O3 -fno-common -mcmodel=kernel -mno-red-zone -fno-asynchronous-unwind-tables -ffreestanding\n");
# endif
}
|