Makefile.conf.x86-64 995 B

123456789101112131415161718192021222324
  1. #
  2. # Makefile.conf.local
  3. #
  4. ARCH := x86-64
  5. CFLAGS := -g3 -O3 -Wall -fPIC -std=c++11
  6. CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wcast-qual -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -Wswitch-default -Wno-unused -Wno-variadic-macros -Wno-parentheses -fdiagnostics-show-option
  7. # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align
  8. LFLAGS := -lpthread -lm -lboost_system -lboost_thread -lboost_program_options -lboost_date_time -lssl -lcrypto -lcurl -lz -ldl -lbluetooth
  9. AR := ar
  10. CC := g++
  11. STRIP := strip
  12. OBJCOPY := objcopy
  13. CFLAGS += -fpermissive
  14. CFLAGS += -I/opt/build/PresenceDetection
  15. CFLAGS += -ffunction-sections -fdata-sections
  16. LFLAGS += -Wl,--gc-sections
  17. SFLAGS := -s -R .comment -R .gnu.version --strip-unneeded
  18. DEBUGDIR := .debug
  19. DATETIME := `date +'%y%m%d-%H%M'`