Skip to content
Snippets Groups Projects
Commit a9b732a3 authored by Daniel Malea's avatar Daniel Malea
Browse files

Update TestVBool Makefile to allow building test program with gcc

- do not pass (incompatible option) -stdlib=libstdc++ option if using GCC as test compiler

llvm-svn: 175522
parent 3eb9044f
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,8 @@ CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
CXXFLAGS += -stdlib=libstdc++ -O0
CXXFLAGS += -O0
ifeq (,$(findstring gcc,$(CC)))
CXXFLAGS += -stdlib=libstdc++
LDFLAGS += -stdlib=libstdc++
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment