Mercurial > hg > sidinfo
comparison Makefile.gen @ 364:f0ad03639a93
Oops, forgot that clang does not like -flto.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 Sep 2020 02:02:30 +0300 |
parents | ab53c76f40d5 |
children | bb1492940316 |
comparison
equal
deleted
inserted
replaced
363:ab53c76f40d5 | 364:f0ad03639a93 |
---|---|
6 ifneq ($(ASAN),) | 6 ifneq ($(ASAN),) |
7 CFLAGS += -fsanitize=address | 7 CFLAGS += -fsanitize=address |
8 LDFLAGS += -lasan | 8 LDFLAGS += -lasan |
9 else | 9 else |
10 CFLAGS += -O2 | 10 CFLAGS += -O2 |
11 CFLAGS += -flto | 11 #CFLAGS += -flto |
12 endif | 12 endif |
13 | 13 |
14 ### | 14 ### |
15 ### Objects and targets | 15 ### Objects and targets |
16 ### | 16 ### |