summaryrefslogtreecommitdiff
path: root/package/devel/trace-cmd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/devel/trace-cmd/Makefile')
-rw-r--r--package/devel/trace-cmd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/trace-cmd/Makefile b/package/devel/trace-cmd/Makefile
index 5263841aac..f7c211f0c9 100644
--- a/package/devel/trace-cmd/Makefile
+++ b/package/devel/trace-cmd/Makefile
@@ -37,7 +37,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