summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0003-mips32-libatomic.patch
blob: c476ab0ff176b63e3992e8ed44fa59717b563bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Linking with libatomic on mips32.

diff -Naurp ck.orig/configure ck/configure
--- ck.orig/configure
+++ ck/configure
@@ -509,6 +509,7 @@ case $PLATFORM in
 		MM="${MM:-"CK_MD_RMO"}"
 		PLATFORM=mips32
 		ENVIRONMENT=32
+		LDFLAGS="$LDFLAGS -Wl,--as-needed -latomic"
 		;;
 	arm|armv6|armv6l|armv7|armv7l)
 		case "$PLATFORM" in