From: Sage Weil Date: Thu, 24 Feb 2011 13:49:29 +0000 (-0800) Subject: Makefile: fix libatomic_ops linking X-Git-Tag: v0.25~49 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=71bbd5542fb58ae61448933cd952d2fee2c44462;p=ceph.git Makefile: fix libatomic_ops linking LDADD seems to have no effect on the final link command. Switching this back to AM_LDFLAGS. This was changed as in 1c7d8f1ac2c, although it's not clear that the change was intentional... Signed-off-by: Sage Weil --- diff --git a/src/Makefile.am b/src/Makefile.am index c175244527f43..948811b440bd4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -409,7 +409,7 @@ AM_CFLAGS = -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE AM_LDFLAGS = -Wl,--as-needed if WITH_LIBATOMIC -LDADD += -latomic_ops +AM_LDFLAGS += -latomic_ops endif noinst_LIBRARIES = \