3bdb14c1e47554068997f78d29fcbaa595be5670
[oweals/dinit.git] / mconfig
1 # LLVM/clang++ with libc++ on Linux
2 #CXX=clang++
3 #CXXOPTS=-stdlib=libc++ -std=gnu++11 -Os -Wall -fno-rtti
4 #EXTRA_LIBS=-lc++abi
5
6 # GCC. Note with GCC 5,5.1,5.2 the new C++11 ABI is buggy.
7 CXX=g++
8 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -Os -Wall -Wno-invalid-offsetof -fno-rtti
9 EXTRA_LIBS=
10
11 # OpenBSD, tested with GCC 4.9.3 and gmake:
12 #CXX=eg++
13 #CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -Os -Wall -fno-rtti
14 #EXTRA_LIBS=