aboutsummaryrefslogtreecommitdiff
path: root/ethosu/mlw_codec/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/mlw_codec/makefile')
-rw-r--r--ethosu/mlw_codec/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethosu/mlw_codec/makefile b/ethosu/mlw_codec/makefile
index 68eb0d94..aa214f9b 100644
--- a/ethosu/mlw_codec/makefile
+++ b/ethosu/mlw_codec/makefile
@@ -20,7 +20,8 @@
UNAME=$(shell uname -o)
-CFLAGS=-Wall -Werror -Wno-unused-function -Wno-unused-variable
+CFLAGS=-Wall -Werror -Wno-unused-variable
+CFLAGS+=-fwrapv -fstack-protector-strong -flto -fuse-linker-plugin -ffat-lto-objects
ifeq ($(DEBUG),1)
CFLAGS+=-g -O0 -DDEBUG