blob: eaecf197dab48364b1a2532543be4664dc933ca6 [file] [log] [blame]
# SingleSource/UnitTests/C++11/Makefile
LEVEL = ../../..
include $(LEVEL)/Makefile.config
CPPFLAGS += -std=c++11 -pthread
ifdef BENCHMARKING_ONLY
PROGRAMS_TO_SKIP += stdthreadbug
else
ifeq (-static, $(findstring -static, $(TARGET_FLAGS)))
LDFLAGS += -Wl,--whole-archive -lpthread -Wl,--no-whole-archive
endif
endif
LDFLAGS += -lstdc++ -pthread
include $(LEVEL)/SingleSource/Makefile.singlesrc