make/solaris/makefiles/gcc.make

changeset 3832
4d399f013e5a
parent 3600
7292cff45988
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3831:0a8b8cb8b22c 3832:4d399f013e5a
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

mercurial