mconfig.Darwin 755 B

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