diff options
author | Marek BehĂșn <kabel@blackhole.sk> | 2020-09-26 21:49:50 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-10-11 16:16:24 +0200 |
commit | 3d0fa1a012a9e67cad19274c35719f77a243ac82 (patch) | |
tree | 9db05b94357659ef20e5d1d3268aa7988b493c26 /package/devel | |
parent | d4161798dd4061bd861aac5b34bca0e2900bc3fd (diff) | |
download | upstream-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/Makefile | 2 |
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='') \ |