Mercurial > hg > truffle
comparison make/solaris/makefiles/gcc.make @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | c760f78e0a53 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
1 # | 1 # |
2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
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 USE_PRECOMPILED_HEADER=1 | 50 USE_PRECOMPILED_HEADER=1 |
51 PRECOMPILED_HEADER_DIR=. | 51 PRECOMPILED_HEADER_DIR=. |
52 PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch | 52 PRECOMPILED_HEADER_SRC=$(GAMMADIR)/src/share/vm/precompiled.hpp |
53 PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/precompiled.hpp.gch | |
53 endif | 54 endif |
54 | 55 |
55 | 56 |
56 #------------------------------------------------------------------------ | 57 #------------------------------------------------------------------------ |
57 # Compiler flags | 58 # Compiler flags |
129 ifeq ($(BUILDARCH), ia64) | 130 ifeq ($(BUILDARCH), ia64) |
130 OPT_CFLAGS/bytecodeInterpreter.o += -fno-expensive-optimizations | 131 OPT_CFLAGS/bytecodeInterpreter.o += -fno-expensive-optimizations |
131 endif | 132 endif |
132 | 133 |
133 OPT_CFLAGS/NOOPT=-O0 | 134 OPT_CFLAGS/NOOPT=-O0 |
135 | |
136 # Flags for generating make dependency flags. | |
137 ifneq ("${CC_VER_MAJOR}", "2") | |
138 DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d) | |
139 endif | |
140 | |
134 #------------------------------------------------------------------------ | 141 #------------------------------------------------------------------------ |
135 # Linker flags | 142 # Linker flags |
136 | 143 |
137 # statically link libstdc++.so, work with gcc but ignored by g++ | 144 # statically link libstdc++.so, work with gcc but ignored by g++ |
138 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic | 145 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic |