summaryrefslogtreecommitdiffstats
path: root/kernel/tools/iio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/iio/Makefile')
-rw-r--r--kernel/tools/iio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/tools/iio/Makefile b/kernel/tools/iio/Makefile
index bf7ae6d66..3a7a54f59 100644
--- a/kernel/tools/iio/Makefile
+++ b/kernel/tools/iio/Makefile
@@ -1,5 +1,5 @@
-CC = gcc
-CFLAGS = -Wall -g -D_GNU_SOURCE
+CC = $(CROSS_COMPILE)gcc
+CFLAGS += -Wall -g -D_GNU_SOURCE
all: iio_event_monitor lsiio generic_buffer