aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zvol_id/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zvol_id/Makefile.am')
-rw-r--r--cmd/zvol_id/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/zvol_id/Makefile.am b/cmd/zvol_id/Makefile.am
new file mode 100644
index 000000000000..a584875081eb
--- /dev/null
+++ b/cmd/zvol_id/Makefile.am
@@ -0,0 +1,10 @@
+include $(top_srcdir)/config/Rules.am
+
+# Disable GCC stack protection for zvol_id. This is a kludge and should be
+# removed once https://github.com/zfsonlinux/zfs/issues/569 is resolved.
+AM_CFLAGS += -fno-stack-protector
+
+udev_PROGRAMS = zvol_id
+
+zvol_id_SOURCES = \
+ zvol_id_main.c