summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5fda546..e487026 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,11 @@
#
#SPDX-License-Identifier: BSD-3-Clause
+ifeq ($(MAX_DELAY), 1)
+CFLAGS ?= -O3 -DMAX_DELAY
+else
CFLAGS ?= -O3
+endif
CC = $(CROSS_COMPILE)gcc
INSTALL = /usr/bin/install