Makefile.conf.x86-64 980 B

1234567891011121314151617181920212223
  1. #
  2. # Makefile.conf.local
  3. #
  4. CFLAGS := -g3 -O3 -Wall -fPIC -std=c++11
  5. 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
  6. # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align
  7. LFLAGS := -lpthread -lm -lboost_system -lboost_thread -lboost_program_options -lboost_date_time -lssl -lcrypto -lcurl -lz -ldl -lbluetooth
  8. AR := ar
  9. CC := g++
  10. STRIP := strip
  11. OBJCOPY := objcopy
  12. CFLAGS += -fpermissive
  13. CFLAGS += -I/opt/build/PresenceDetection
  14. CFLAGS += -ffunction-sections -fdata-sections
  15. LFLAGS += -Wl,--gc-sections
  16. SFLAGS := -s -R .comment -R .gnu.version --strip-unneeded
  17. DEBUGDIR := .debug
  18. DATETIME := `date +'%y%m%d-%H%M'`