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
|
||||
OPTIMIZE_FLAGS := -O2 -march=nocona -mtune=core-avx2 -mfpmath=sse
|
||||
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
|
||||
CARGO_BUILD_ARG := --release
|
||||
|
||||
|
|
Loading…
Reference in a new issue