2
0

mconfig.Darwin 679 B

123456789101112131415161718192021222324252627282930
  1. # Installation path options.
  2. SBINDIR=/sbin
  3. MANDIR=/usr/share/man
  4. SYSCONTROLSOCKET=/var/run/dinitctl
  5. # General build options.
  6. # MacOS: use g++ (which may alias clang++):
  7. # Cannot use -fno-rtti: apparently prevents exception handling from working properly.
  8. CXX=g++
  9. CXXFLAGS=-std=c++11 -Os -Wall -flto
  10. CPPFLAGS=
  11. LDFLAGS_BASE=
  12. LDFLAGS=$(LDFLAGS_BASE) $(CXXFLAGS)
  13. TEST_CXXFLAGS=$(CXXFLAGS) -fsanitize=address,undefined
  14. TEST_LDFLAGS_BASE=$(LDFLAGS_BASE)
  15. TEST_LDFLAGS=$(TEST_LDFLAGS_BASE) $(TEST_CXXFLAGS)
  16. BUILD_SHUTDOWN=no
  17. # Notes:
  18. # -flto (optional) : Use link-time optimisation
  19. # Service defaults.
  20. DEFAULT_AUTO_RESTART=true
  21. DEFAULT_START_TIMEOUT=60
  22. DEFAULT_STOP_TIMEOUT=10