139 |
139 |
140 OPT_CFLAGS/NOOPT=-O0 |
140 OPT_CFLAGS/NOOPT=-O0 |
141 |
141 |
142 # Flags for generating make dependency flags. |
142 # Flags for generating make dependency flags. |
143 ifneq ("${CC_VER_MAJOR}", "2") |
143 ifneq ("${CC_VER_MAJOR}", "2") |
144 DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d) |
144 DEPFLAGS = -fpch-deps -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d) |
145 endif |
145 endif |
146 |
146 |
147 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp. |
147 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp. |
148 ifeq ($(USE_PRECOMPILED_HEADER),0) |
148 ifeq ($(USE_PRECOMPILED_HEADER),0) |
149 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER |
149 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER |