Makefile.conf.base 668 B

12345678910111213
  1. #
  2. # Makefile.conf.base
  3. #
  4. CFLAGS += -g3 -O3 -fPIC -std=c++11
  5. CFLAGS += -Wall -Wextra -Wstrict-aliasing -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option
  6. CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter
  7. # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wcast-qual -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align -Wswitch-default -Wlogical-op -Wnoexcept
  8. CFLAGS += -ffunction-sections -fdata-sections
  9. LFLAGS += -Wl,--gc-sections
  10. SFLAGS := -s -R .comment --strip-unneeded