Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Geert Uytterhoeven <geert <at> linux-m68k.org> writes:

QUESTION: Should we re-enable -ffreestanding in the main Makefile instead?

+1

It is wrong to not compile a kernel or bootloader with -ffreestanding
(and -ffreestanding implying -fno-builtin is *also* correct; kernels
and bootloaders can use stuff like __builtin_strlen explicitly if/when
desired *and* aware of the side effects).

FWIW, adding -ffreestanding to the kernel I inherited from OpenBSD
fixed several issues at once…

bye,
//mirabilos


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux