mirror of https://github.com/ncroxon/gnu-efi
Force DWARF 4 on LLVM
Otherwise readelf just throws an absolute blowup :( Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
0c0b91b9f9
commit
f77e4e8a8e
|
@ -245,6 +245,12 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \
|
|||
$(if $(findstring 0,$(USING_CLANG)),-fno-merge-all-constants,)
|
||||
endif
|
||||
|
||||
# Force DWARF 4 on LLVM
|
||||
# Otherwise readelf becomes very unhappy
|
||||
ifeq ($(USING_CLANG),clang)
|
||||
CFLAGS += -gdwarf-4
|
||||
endif
|
||||
|
||||
ifeq ($(V),1)
|
||||
ARFLAGS := rDv
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue