History

Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull objtool fix from Thomas Gleixner: "A single fix for objtool so it uses the host C and LD flags and not the target ones" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool: Support HOSTCFLAGS and HOSTLDFLAGS

Linus Torvalds committed 8 years ago

Commit 18de45a2 parents 285848b 596a9f61 file · +2 −2Browse files

Unified · Split

tools/objtool/Makefile+2−2
@@ -31,8 +31,8 @@ INCLUDES := -I$(srctree)/tools/include \ · 30 unmodified lines
3131 -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \
3232 -I$(srctree)/tools/objtool/arch/$(ARCH)/include
3333 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed
34−CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES)
35−LDFLAGS += -lelf $(LIBSUBCMD)
34+CFLAGS += -Werror $(WARNINGS) $(HOSTCFLAGS) -g $(INCLUDES)
35+LDFLAGS += -lelf $(LIBSUBCMD) $(HOSTLDFLAGS)
3636
3737 # Allow old libelf to be used:
3838 elfshdr := $(shell echo '$(pound)include <libelf.h>' | $(CC) $(CFLAGS) -x c -E - | grep elf_getshdr)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t