Skip to content

Commit

Permalink
Leave libustream mbedtls; comment GC_SECTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
danpawlik committed Dec 29, 2024
1 parent 04da4b2 commit 353ec1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/common/snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CONFIG_DEVEL=y
CONFIG_JSON_CYCLONEDX_SBOM=y
CONFIG_MAKE_TOOLCHAIN=y

CONFIG_USE_GC_SECTIONS=y
# CONFIG_USE_GC_SECTIONS=y
CONFIG_USE_LTO=y
# Compile littlebit faster
CONFIG_USE_MOLD=y
4 changes: 2 additions & 2 deletions openwrt-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ if [ -n "$CRYPTO_LIB" ]; then
COMMAND="$COMMAND; opkg remove wpad-basic-mbedtls; opkg install wpad-$CRYPTO_LIB"

if [[ "$CRYPTO_LIB" =~ ^(Wolfssl|wolfssl)$ ]]; then
FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libustream-mbedtls -libmbedtls libustream-wolfssl wpad-wolfssl apk-wolfssl"
FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libmbedtls wpad-wolfssl apk-wolfssl"
elif [[ "$CRYPTO_LIB" =~ ^(Openssl|openssl)$ ]]; then
FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libustream-mbedtls -libmbedtls libustream-openssl wpad-openssl apk-openssl"
FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libmbedtls wpad-openssl apk-openssl"
fi
fi

Expand Down

0 comments on commit 353ec1f

Please sign in to comment.