atomic-test.patch 553 B

123456789101112131415
  1. Description: Link atomic test with -latomic for powerpc.
  2. Author: Adam Conrad <adconrad@ubuntu.com>
  3. --- openvswitch-2.0.0.orig/tests/automake.mk
  4. +++ openvswitch-2.0.0/tests/automake.mk
  5. @@ -181,7 +181,7 @@ tests_test_aes128_LDADD = lib/libopenvsw
  6. noinst_PROGRAMS += tests/test-atomic
  7. tests_test_atomic_SOURCES = tests/test-atomic.c
  8. -tests_test_atomic_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
  9. +tests_test_atomic_LDADD = lib/libopenvswitch.a $(SSL_LIBS) -latomic
  10. noinst_PROGRAMS += tests/test-bundle
  11. tests_test_bundle_SOURCES = tests/test-bundle.c