Skip to content

Commit 7f92058

Browse files
author
Nibedita Jena
committed
8377905: gcc.md included with every build
Backport-of: c5a2421
1 parent 6f67db7 commit 7f92058

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

make/modules/java.base/Copy.gmk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2014, 2026, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -172,6 +172,10 @@ ifeq ($(USE_EXTERNAL_LIBZ), true)
172172
LEGAL_EXCLUDES += zlib.md
173173
endif
174174

175+
ifneq ($(TOOLCHAIN_TYPE), gcc)
176+
LEGAL_EXCLUDES += gcc.md
177+
endif
178+
175179
$(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
176180
EXCLUDES := $(LEGAL_EXCLUDES), \
177181
))

0 commit comments

Comments
 (0)