disable mips16 for a few packages that don't compile with it
[openwrt/svn-archive/archive.git] / package / devel / trace-cmd / Makefile
index 5263841aac00f6c098b7c59156a8a729ef17409e..6bd70e97b5e1c9961d33eed86bfb16789fb20d2a 100644 (file)
@@ -11,6 +11,7 @@ PKG_SOURCE_VERSION:=8c10a774f1f8586cd8b0e3ce8666a376cb1d98e3
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 # PKG_MIRROR_MD5SUM:=6a08dfa2519a969d184e7bb5bb390620
 PKG_INSTALL:=1
+PKG_USE_MIPS16:=0
 
 PKG_BUILD_PARALLEL:=1
 
@@ -37,7 +38,7 @@ MAKE_FLAGS += \
 PLUGINS_DIR := $(PKG_INSTALL_DIR)/usr/lib/trace-cmd/plugins
 PLUGINS_MAIN := function hrtimer mac80211 sched_switch
 
-TARGET_CFLAGS += --std=gnu99
+TARGET_CFLAGS += --std=gnu99 -D_GNU_SOURCE
 
 define Package/trace-cmd/install
        $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/trace-cmd/plugins