# HG changeset patch # User Matti Hamalainen # Date 1510884758 -7200 # Node ID e6a2658ae0966582c9b344ea62e64d7a1772871c # Parent 2438ea2611f920cce17616737f102c2771347797 Enable building via clang++ (tested with 5.0). diff -r 2438ea2611f9 -r e6a2658ae096 Makefile.gen --- 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