perf: fix build on PowerPC
[openwrt/staging/blocktrron.git] / package / devel / perf / Makefile
index 27ab7173f8711ca77c2078eef405a59e696d45c7..20be59516dad1226f40987b82edd7f8018c1a952 100644 (file)
@@ -71,6 +71,10 @@ MAKE_FLAGS = \
        O=$(PKG_BUILD_DIR) \
        prefix=/usr
 
+ifeq ($(LINUX_KARCH),powerpc)
+       MAKE_FLAGS += NO_AUXTRACE=1
+endif
+
 define Build/Compile
        +$(MAKE) $(PKG_JOBS) $(MAKE_FLAGS) \
                --no-print-directory \