fixed compile trojan problems on arm64 (#2313)
This commit is contained in:
parent
bfb99715e5
commit
af4697b55c
@ -26,10 +26,6 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_Trojan
|
||||
bool "Include Trojan"
|
||||
default y if x86_64
|
||||
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_V2ray
|
||||
bool "Include V2ray"
|
||||
default y if x86_64
|
||||
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun
|
||||
bool "Include Kcptun"
|
||||
default n
|
||||
|
||||
@ -92,7 +92,7 @@ OPENSSL_OPTIONS += no-whirlpool
|
||||
|
||||
OPENSSL_OPTIONS += no-deprecated
|
||||
|
||||
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3
|
||||
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O0 -g3
|
||||
|
||||
|
||||
|
||||
@ -120,7 +120,8 @@ define Build/Configure
|
||||
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
|
||||
#$(FPIC)
|
||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
define Build/Compile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user