[PATCH 29/35] Revert "perf s390: Always build with -fPIC"
From: Arnaldo Carvalho de Melo
Date: Thu Dec 28 2017 - 09:34:23 EST
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
This one made x86 always build with -fPIC, when the intention was for
s390 to be built that way, due to a rebase mistake.
Reported-by: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
This reverts commit 1dc4ddf112a408e607a073d951b962b6c6e2bd6c.
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Makefile.config | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 6f73c2316740..eb6bd99be0bd 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -43,7 +43,6 @@ ifeq ($(SRCARCH),x86)
LIBUNWIND_LIBS = -lunwind-x86 -llzma -lunwind
endif
NO_PERF_REGS := 0
- CFLAGS += -fPIC
endif
ifeq ($(SRCARCH),arm)
--
2.13.6