1 # |
1 # |
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. |
3 # Copyright 2012, 2013 SAP AG. All rights reserved. |
3 # Copyright 2012, 2013 SAP AG. All rights reserved. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # |
5 # |
6 # This code is free software; you can redistribute it and/or modify it |
6 # This code is free software; you can redistribute it and/or modify it |
7 # under the terms of the GNU General Public License version 2 only, as |
7 # under the terms of the GNU General Public License version 2 only, as |
99 ${VM_DISTRO} |
99 ${VM_DISTRO} |
100 |
100 |
101 # This is VERY important! The version define must only be supplied to vm_version.o |
101 # This is VERY important! The version define must only be supplied to vm_version.o |
102 # If not, ccache will not re-use the cache at all, since the version string might contain |
102 # If not, ccache will not re-use the cache at all, since the version string might contain |
103 # a time and date. |
103 # a time and date. |
104 CXXFLAGS/vm_version.o += ${JRE_VERSION} |
104 CXXFLAGS/vm_version.o += ${JRE_VERSION} ${VERSION_CFLAGS} |
|
105 CXXFLAGS/arguments.o += ${VERSION_CFLAGS} |
105 |
106 |
106 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) |
107 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) |
107 |
108 |
108 # File specific flags |
109 # File specific flags |
109 CXXFLAGS += $(CXXFLAGS/BYFILE) |
110 CXXFLAGS += $(CXXFLAGS/BYFILE) |