Re: [ovs-dev] [PATCH] tests: Add '-latomic' only for 'test-atomic.c'

2014-03-11 Thread cosmin.parasc...@freescale.com
> Commit fd2e50c (Add check for -latomic) fixed a bug for 32-bit > PowerPC systems, where the compiler would generate calls to > functions implemented by libatomic, such as '__atomic_load_8'. > > Nonetheless, it passes '-latomic' to all files that get compiled > and that isn't necessary, so add it

[ovs-dev] [PATCH] tests: Add '-latomic' only for 'test-atomic.c'

2014-03-10 Thread Cosmin Paraschiv
Commit fd2e50c (Add check for -latomic) fixed a bug for 32-bit PowerPC systems, where the compiler would generate calls to functions implemented by libatomic, such as '__atomic_load_8'. Nonetheless, it passes '-latomic' to all files that get compiled and that isn't necessary, so add it only for 't