1 # |
1 # |
2 # Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1998, 2019, 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. |
86 ${VM_DISTRO} |
86 ${VM_DISTRO} |
87 |
87 |
88 # This is VERY important! The version define must only be supplied to vm_version.o |
88 # This is VERY important! The version define must only be supplied to vm_version.o |
89 # If not, ccache will not re-use the cache at all, since the version string might contain |
89 # If not, ccache will not re-use the cache at all, since the version string might contain |
90 # a time and date. |
90 # a time and date. |
91 CXXFLAGS/vm_version.o += ${JRE_VERSION} |
91 CXXFLAGS/vm_version.o += ${JRE_VERSION} ${VERSION_CFLAGS} |
|
92 CXXFLAGS/arguments.o += ${VERSION_CFLAGS} |
92 |
93 |
93 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) |
94 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) |
94 |
95 |
95 # File specific flags |
96 # File specific flags |
96 CXXFLAGS += $(CXXFLAGS/BYFILE) |
97 CXXFLAGS += $(CXXFLAGS/BYFILE) |