Mercurial > hg > syntilista
changeset 208:e6a2658ae096
Enable building via clang++ (tested with 5.0).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Nov 2017 04:12:38 +0200 |
parents | 2438ea2611f9 |
children | 6f404158ce8c |
files | Makefile.gen |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.gen Thu Nov 16 13:05:19 2017 +0200 +++ b/Makefile.gen Fri Nov 17 04:12:38 2017 +0200 @@ -3,12 +3,14 @@ ### CFLAGS += -O2 -W -Wall -Wextra -CXXFLAGS += -O2 -W -Wall -Wextra +CXXFLAGS += -O2 -W -Wall -Wextra -std=c++11 # Tools +ifneq ($(BINTOOL_PREFIX),) CC = $(BINTOOL_PREFIX)gcc CXX = $(BINTOOL_PREFIX)g++ AR = $(BINTOOL_PREFIX)ar +endif RANLIB = $(BINTOOL_PREFIX)ranlib WINDRES = $(BINTOOL_PREFIX)windres