]> granicus.if.org Git - libatomic_ops/commitdiff
Specify LDFLAGS with '-no-undefined' option.
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Aug 2011 18:10:36 +0000 (22:10 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 17 Aug 2011 18:10:36 +0000 (22:10 +0400)
* src/Makefile.am (libatomic_ops_la_LDFLAGS,
libatomic_ops_gpl_la_LDFLAGS): Define (specifying '-version-info' and
'-no-undefined' options).

src/Makefile.am

index b4395212176ed2c46cee63c6860a6b278a580627..a761ddfc7bd21cbd2825ab8b1053403a2952cd91 100644 (file)
@@ -8,8 +8,10 @@ libatomic_ops_la_SOURCES = atomic_ops.c atomic_ops_sysdeps.S
 else
 libatomic_ops_la_SOURCES = atomic_ops.c
 endif
+libatomic_ops_la_LDFLAGS = -version-info 1:3:0 -no-undefined
 
 libatomic_ops_gpl_la_SOURCES = atomic_ops_stack.c atomic_ops_malloc.c
+libatomic_ops_gpl_la_LDFLAGS = -version-info 1:3:0 -no-undefined
 
 EXTRA_DIST=Makefile.msft atomic_ops/sysdeps/README \
         atomic_ops/generalize-small.template atomic_ops/sysdeps/sunc/sparc.S