angelauramc-openjdk-build/patches/jdk8u_ios_xattr.diff
Eva Isabella Luna 3cda3c1ed5
[FIX] xattr command failing for JDK 8 iOS
Some versions of macOS on some machines might fail the build when xattr is invoked without sudo.
Since the reason xattr is invoked is to help with testing, and the attribute it is removing
is not relevant for iOS, this line can be safely removed from the build.
2025-07-02 22:17:57 -06:00

13 lines
383 B
Diff

diff --git a/make/common/MakeBase.gmk b/make/common/MakeBase.gmk
index f31da150..710db352 100644
--- a/make/common/MakeBase.gmk
+++ b/make/common/MakeBase.gmk
@@ -375,7 +375,6 @@ else ifeq ($(OPENJDK_TARGET_OS),macosx)
define install-file
$(MKDIR) -p $(@D)
$(CP) -fRP '$<' '$@'
- if [ -n "`$(XATTR) -l '$@'`" ]; then $(XATTR) -c '$@'; fi
endef
else
define install-file