Changeset 1ab3c4b in mainline for kernel


Ignore:
Timestamp:
2018-01-25T17:12:06Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03cfe2ec
Parents:
5b0cf63
Message:

Remove a few unnecessary compiler flags.

-fno-builtin is implied by -ffreestanding,
-m32 and -m64 are, at least on x86, implied by the architecture.

Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r5b0cf63 r1ab3c4b  
    9090
    9191COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    92         -ffreestanding -fno-builtin -nostdlib -nostdinc \
     92        -ffreestanding -nostdlib -nostdinc \
    9393        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common \
    9494        -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
  • kernel/arch/amd64/Makefile.inc

    r5b0cf63 r1ab3c4b  
    3232
    3333FPU_NO_CFLAGS = -mno-sse -mno-sse2
    34 COMMON_CFLAGS += -m64 -mcmodel=$(MEMORY_MODEL) -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer
     34COMMON_CFLAGS += -mcmodel=$(MEMORY_MODEL) -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer
    3535
    3636BITS = 64
  • kernel/arch/ia32/Makefile.inc

    r5b0cf63 r1ab3c4b  
    3434ENDIANESS = LE
    3535
    36 COMMON_CFLAGS += -m32 -fno-omit-frame-pointer
     36COMMON_CFLAGS += -fno-omit-frame-pointer
    3737
    3838## Accepted CPUs
Note: See TracChangeset for help on using the changeset viewer.