Skip to contentSkip to conversation

perf: remove duplicate block from Makefile

PATCH New Ulrich Drepper 1 participant 1 message Oct 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: remove duplicate block from Makefile

This looks like a merge error, the code is duplicated with the first copy doing something else as well. Just remove the second block.

 Makefile |    8 --------
 1 file changed, 8 deletions(-)
config/Makefile +0 -8
Index: perf/config/Makefile
===================================================================
@@ -200,14 +200,6 @@ endif # NO_DWARF
 
 endif # NO_LIBELF
 
-ifndef NO_LIBELF
-CFLAGS += -DLIBELF_SUPPORT
-FLAGS_LIBELF=$(CFLAGS) $(LDFLAGS) $(EXTLIBS)
-ifeq ($(call try-cc,$(SOURCE_ELF_MMAP),$(FLAGS_LIBELF),-DLIBELF_MMAP),y)
-  CFLAGS += -DLIBELF_MMAP
-endif # try-cc
-endif # NO_LIBELF
-
 # There's only x86 (both 32 and 64) support for CFI unwind so far
 ifneq ($(ARCH),x86)
   NO_LIBUNWIND := 1