X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/af8e873ae38b72a56a89485c62bb5ccd22a9f8a7..e6416905c4afb34e61276cdc07c44813a3ebc5e7:/lunaix-os/config/make-cc diff --git a/lunaix-os/config/make-cc b/lunaix-os/config/make-cc index 7a1899c..ed1f678 100644 --- a/lunaix-os/config/make-cc +++ b/lunaix-os/config/make-cc @@ -10,6 +10,13 @@ W := -Wall -Wextra -Wno-unknown-pragmas \ -Wno-unused-parameter \ -Wno-unused-variable\ -Werror=incompatible-pointer-types - -CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT) + +OFLAGS := -fno-gcse\ + -fno-gcse-lm\ + -fno-cse-follow-jumps\ + -fno-cse-skip-blocks\ + -fno-optimize-strlen\ + -fno-tree-builtin-call-dce + +CFLAGS := -std=gnu99 -ffreestanding $(O) $(OFLAGS) $(W) $(ARCH_OPT) LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc \ No newline at end of file