diff options
| -rw-r--r-- | tools/perf/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 75af93dc52ad..8beff9944f44 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
| @@ -587,7 +587,7 @@ endif | |||
| 587 | ifdef NO_GTK2 | 587 | ifdef NO_GTK2 |
| 588 | BASIC_CFLAGS += -DNO_GTK2_SUPPORT | 588 | BASIC_CFLAGS += -DNO_GTK2_SUPPORT |
| 589 | else | 589 | else |
| 590 | FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0) | 590 | FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0 2>/dev/null) |
| 591 | ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y) | 591 | ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y) |
| 592 | msg := $(warning GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev); | 592 | msg := $(warning GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev); |
| 593 | BASIC_CFLAGS += -DNO_GTK2_SUPPORT | 593 | BASIC_CFLAGS += -DNO_GTK2_SUPPORT |
| @@ -595,8 +595,8 @@ else | |||
| 595 | ifeq ($(call try-cc,$(SOURCE_GTK2_INFOBAR),$(FLAGS_GTK2)),y) | 595 | ifeq ($(call try-cc,$(SOURCE_GTK2_INFOBAR),$(FLAGS_GTK2)),y) |
| 596 | BASIC_CFLAGS += -DHAVE_GTK_INFO_BAR | 596 | BASIC_CFLAGS += -DHAVE_GTK_INFO_BAR |
| 597 | endif | 597 | endif |
| 598 | BASIC_CFLAGS += $(shell pkg-config --cflags gtk+-2.0) | 598 | BASIC_CFLAGS += $(shell pkg-config --cflags gtk+-2.0 2>/dev/null) |
| 599 | EXTLIBS += $(shell pkg-config --libs gtk+-2.0) | 599 | EXTLIBS += $(shell pkg-config --libs gtk+-2.0 2>/dev/null) |
| 600 | LIB_OBJS += $(OUTPUT)ui/gtk/browser.o | 600 | LIB_OBJS += $(OUTPUT)ui/gtk/browser.o |
| 601 | LIB_OBJS += $(OUTPUT)ui/gtk/setup.o | 601 | LIB_OBJS += $(OUTPUT)ui/gtk/setup.o |
| 602 | LIB_OBJS += $(OUTPUT)ui/gtk/util.o | 602 | LIB_OBJS += $(OUTPUT)ui/gtk/util.o |
