Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Fix tab vs spaces issue in Makefile ifdef/endif

Unmatched spaces/tabs Makefile indentation could make the
Makefile fails. While the tabed line could be considered
sometimes as follow up for rule command, the mixed space
tab meses up with makefile if conditions.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1366796273-4780-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Jiri Olsa and committed by
Arnaldo Carvalho de Melo
f9619d69 9c796ec8

+3 -3
+3 -3
tools/perf/Makefile
··· 90 90 91 91 # Treat warnings as errors unless directed not to 92 92 ifneq ($(WERROR),0) 93 - CFLAGS_WERROR := -Werror 93 + CFLAGS_WERROR := -Werror 94 94 endif 95 95 96 96 ifeq ("$(origin DEBUG)", "command line") ··· 819 819 ifdef NO_DEMANGLE 820 820 BASIC_CFLAGS += -DNO_DEMANGLE 821 821 else 822 - ifdef HAVE_CPLUS_DEMANGLE 822 + ifdef HAVE_CPLUS_DEMANGLE 823 823 EXTLIBS += -liberty 824 824 BASIC_CFLAGS += -DHAVE_CPLUS_DEMANGLE 825 - else 825 + else 826 826 FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -DPACKAGE='perf' -lbfd 827 827 has_bfd := $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD),libbfd) 828 828 ifeq ($(has_bfd),y)