Browse Source

openssl: fix riscv32 linking

Waldemar Brodkorb 1 month ago
parent
commit
ab2b5c8746
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/openssl/Makefile

+ 1 - 0
package/openssl/Makefile

@@ -89,6 +89,7 @@ do-configure:
 		PATH='$(TARGET_PATH)' \
 		CROSS_COMPILE='' \
 		CFLAGS="$(TARGET_CFLAGS)" \
+		LDFLAGS="$(TARGET_LDFLAGS) -latomic" \
 		./Configure $(CONFIG) \
 			--prefix=/usr \
 			--openssldir=/etc/ssl \