Update BUILD instructions.
[oweals/dinit.git] / mconfig
1 # Linux (GCC). Note with GCC 5.x/6.x you must use the old ABI, with GCC 7.x you must use
2 # the new ABI. See BUILD file for more information.
3 CXX=g++
4 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=gnu++11 -Os -Wall -Wno-invalid-offsetof -fno-rtti
5 EXTRA_LIBS=
6 BUILD_SHUTDOWN=yes
7
8 # OpenBSD, tested with GCC 4.9.3 and gmake:
9 #CXX=clang++
10 #CXXOPTS=-std=gnu++11 -Os -Wall -fno-rtti
11 #EXTRA_LIBS=
12 #BUILD_SHUTDOWN=no
13 # (shutdown command not available for OpenBSD yet).
14
15 # MacOS: use Linux settings, but don't build shutdown:
16 #BUILD_SHUTDOWN=no