make/solaris/makefiles/gcc.make

changeset 3325
f4414323345f
parent 3229
95009f678859
child 3518
719f7007c8e8
equal deleted inserted replaced
3324:f1391adc6681 3325:f4414323345f
47 47
48 # check for precompiled headers support 48 # check for precompiled headers support
49 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0" 49 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
50 # Allow the user to turn off precompiled headers from the command line. 50 # Allow the user to turn off precompiled headers from the command line.
51 ifneq ($(USE_PRECOMPILED_HEADER),0) 51 ifneq ($(USE_PRECOMPILED_HEADER),0)
52 USE_PRECOMPILED_HEADER=1
53 PRECOMPILED_HEADER_DIR=. 52 PRECOMPILED_HEADER_DIR=.
54 PRECOMPILED_HEADER_SRC=$(GAMMADIR)/src/share/vm/precompiled/precompiled.hpp 53 PRECOMPILED_HEADER_SRC=$(GAMMADIR)/src/share/vm/precompiled/precompiled.hpp
55 PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/precompiled.hpp.gch 54 PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/precompiled.hpp.gch
56 endif 55 endif
57 endif 56 endif
140 ifneq ("${CC_VER_MAJOR}", "2") 139 ifneq ("${CC_VER_MAJOR}", "2")
141 DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d) 140 DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
142 endif 141 endif
143 142
144 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp. 143 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
145 ifneq ($(USE_PRECOMPILED_HEADER),1) 144 ifeq ($(USE_PRECOMPILED_HEADER),0)
146 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER 145 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
147 endif 146 endif
148 147
149 #------------------------------------------------------------------------ 148 #------------------------------------------------------------------------
150 # Linker flags 149 # Linker flags

mercurial