Skip to content

Commit 0fa038b

Browse files
committed
7201205: Add Makefile configuration option to build with unlimited crypto in OpenJDK
Allow OpenJDK to use the unlimited crypto policy. Reviewed-by: wetmore, ohair
1 parent 903c4c0 commit 0fa038b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jdk/make/javax/crypto/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,12 @@ include $(BUILDDIR)/common/Classes.gmk
158158
#
159159

160160
ifdef OPENJDK
161-
all: build-jar install-jar build-policy install-limited
161+
ifdef UNLIMITED_CRYPTO
162+
POLICY = install-unlimited
163+
else
164+
POLICY = install-limited
165+
endif
166+
all: build-jar install-jar build-policy $(POLICY)
162167
else # OPENJDK
163168
ifeq ($(strip $(FILES_java)),)
164169
all:

0 commit comments

Comments
 (0)