aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@blackhole.sk>2020-09-26 21:49:50 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2020-10-11 16:16:24 +0200
commit3d0fa1a012a9e67cad19274c35719f77a243ac82 (patch)
tree9db05b94357659ef20e5d1d3268aa7988b493c26 /package/devel
parentd4161798dd4061bd861aac5b34bca0e2900bc3fd (diff)
downloadupstream-3d0fa1a012a9e67cad19274c35719f77a243ac82.tar.gz
upstream-3d0fa1a012a9e67cad19274c35719f77a243ac82.tar.bz2
upstream-3d0fa1a012a9e67cad19274c35719f77a243ac82.zip
perf: pass CFLAGS correctly
For this package CFLAGS have to be passed via EXTRA_CFLAGS. On arm this bug causes build to fail because no -fPIC is present in CFLAGS. Signed-off-by: Marek BehĂșn <kabel@blackhole.sk>
Diffstat (limited to 'package/devel')
-rw-r--r--package/devel/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index e611d5eca3..d325e154be 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -57,7 +57,7 @@ MAKE_FLAGS = \
CROSS_COMPILE="$(TARGET_CROSS)" \
CC="$(TARGET_CC)" \
LD="$(TARGET_CROSS)ld" \
- CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
KBUILD_HOSTCFLAGS="$(HOST_CFLAGS)" \
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \