Mercurial > hg > dmlib
comparison Makefile.gen @ 2370:6f2675365314
Unfortunately -flto breaks clang builds, so remove it from the default
CFLAGS additions in order to unconfuse myself and possibly others.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 07 Jan 2020 23:35:33 +0200 |
parents | 3596e2d757a6 |
children | e61aaa51415c |
comparison
equal
deleted
inserted
replaced
2369:2dfb448a7ff5 | 2370:6f2675365314 |
---|---|
22 DMLIB_SRC = $(DMLIB)src/ | 22 DMLIB_SRC = $(DMLIB)src/ |
23 | 23 |
24 DM_CFLAGS += -I$(DMLIB_SRC) | 24 DM_CFLAGS += -I$(DMLIB_SRC) |
25 | 25 |
26 ifeq ($(EXTRA_CFLAGS),) | 26 ifeq ($(EXTRA_CFLAGS),) |
27 EXTRA_CFLAGS=-O3 -flto | 27 EXTRA_CFLAGS=-O3 |
28 # -march=corei7 | 28 # -march=corei7 |
29 endif | 29 endif |
30 | 30 |
31 | 31 |
32 ### | 32 ### |