Browse Source

treewide: disable UPX by default

Tianling Shen 3 years ago
parent
commit
b292dcafd5
3 changed files with 6 additions and 4 deletions
  1. 4 2
      v2ray-core/Makefile
  2. 1 1
      xray-core/Makefile
  3. 1 1
      xray-plugin/Makefile

+ 4 - 2
v2ray-core/Makefile

@@ -91,7 +91,8 @@ config V2RAY_CORE_COMPRESS_GOPROXY
 
 config V2RAY_CORE_COMPRESS_UPX
 	bool "Compress executable files with UPX"
-	default y
+	depends on !mips64
+	default n
 endmenu
 endef
 
@@ -105,7 +106,8 @@ config V2RAY_CTL_COMPRESS_GOPROXY
 
 config V2RAY_CTL_COMPRESS_UPX
 	bool "Compress executable files with UPX"
-	default y
+	depends on !mips64
+	default n
 endmenu
 endef
 

+ 1 - 1
xray-core/Makefile

@@ -54,7 +54,7 @@ config XRAY_CORE_COMPRESS_GOPROXY
 config XRAY_CORE_COMPRESS_UPX
 	bool "Compress executable files with UPX"
 	depends on !mips64
-	default y
+	default n
 endmenu
 endef
 

+ 1 - 1
xray-plugin/Makefile

@@ -38,7 +38,7 @@ config XRAY_PLUGIN_COMPRESS_GOPROXY
 config XRAY_PLUGIN_COMPRESS_UPX
 	bool "Compress executable files with UPX"
 	depends on !mips64
-	default y
+	default n
 endef
 
 ifneq ($(CONFIG_XRAY_PLUGIN_COMPRESS_GOPROXY),)