Update
This commit is contained in:
parent
8053ace047
commit
74ebc70c0a
2 changed files with 5 additions and 4 deletions
kernel
|
@ -23,15 +23,15 @@ $(eval $(call DEFAULT_VAR,LD,ld))
|
|||
# User controllable CFLAGS.
|
||||
CFLAGS ?= -O2 -g -Wall -Wextra -Wpedantic -pipe
|
||||
|
||||
# User controllable preprocessor flags. We set none by default.
|
||||
CPPFLAGS ?=
|
||||
|
||||
# User controllable nasm flags.
|
||||
NASMFLAGS ?= -F dwarf -g
|
||||
|
||||
# User controllable linker flags. We set none by default.
|
||||
LDFLAGS ?=
|
||||
|
||||
# User controllable preprocessor flags. We set none by default.
|
||||
CPPFLAGS ?=
|
||||
|
||||
# Internal C flags that should not be changed by the user.
|
||||
override CFLAGS += \
|
||||
-I. \
|
||||
|
|
|
@ -45,8 +45,9 @@ SECTIONS
|
|||
*(.bss .bss.*)
|
||||
} :data
|
||||
|
||||
/* Discard notes since they may cause issues on some hosts. */
|
||||
/* Discard .note.* and .eh_frame since they may cause issues on some hosts. */
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue