mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-22 05:36:09 +01:00
build: Add -gdwarf-2 -gstrict-dwarf debug info compilation flags.
This commit is contained in:
parent
4a3ec82256
commit
bbf41a6d75
1 changed files with 2 additions and 1 deletions
|
|
@ -143,7 +143,8 @@ endif
|
||||||
CROSSLDFLAGS += -Wl,--file-alignment,4096
|
CROSSLDFLAGS += -Wl,--file-alignment,4096
|
||||||
OPTIMIZE_FLAGS := -O2 -march=nocona -mtune=core-avx2 -mfpmath=sse
|
OPTIMIZE_FLAGS := -O2 -march=nocona -mtune=core-avx2 -mfpmath=sse
|
||||||
SANITY_FLAGS := -fwrapv -fno-strict-aliasing
|
SANITY_FLAGS := -fwrapv -fno-strict-aliasing
|
||||||
COMMON_FLAGS = $(OPTIMIZE_FLAGS) $(SANITY_FLAGS) -ffile-prefix-map=$(CCACHE_BASEDIR)=.
|
DEBUG_FLAGS := -gdwarf-2 -gstrict-dwarf
|
||||||
|
COMMON_FLAGS = $(DEBUG_FLAGS) $(OPTIMIZE_FLAGS) $(SANITY_FLAGS) -ffile-prefix-map=$(CCACHE_BASEDIR)=.
|
||||||
COMMON_FLAGS32 := -mstackrealign
|
COMMON_FLAGS32 := -mstackrealign
|
||||||
CARGO_BUILD_ARG := --release
|
CARGO_BUILD_ARG := --release
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue