diff mbox

[i-g-t] flip_test: fix link error due to missing -lrt

Message ID 1354905028-24435-1-git-send-email-imre.deak@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Imre Deak Dec. 7, 2012, 6:30 p.m. UTC
Needed by clock_gettime(). This isn't a problem if libudev is used,
as that pulles librt with it.

Signed-off-by: Imre Deak <imre.deak@intel.com>
---
 tests/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Vetter Dec. 8, 2012, 1:03 p.m. UTC | #1
On Fri, Dec 07, 2012 at 08:30:28PM +0200, Imre Deak wrote:
> Needed by clock_gettime(). This isn't a problem if libudev is used,
> as that pulles librt with it.
> 
> Signed-off-by: Imre Deak <imre.deak@intel.com>

Applied, thanks for the pach.
-Daniel
diff mbox

Patch

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4658fce..c49d870 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -176,6 +176,7 @@  gem_fence_thrash_LDADD = $(LDADD) -lpthread
 gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
 
 gem_wait_render_timeout_LDADD = $(LDADD) -lrt
+flip_test_LDADD = $(LDADD) -lrt
 
 gem_ctx_basic_LDADD = $(LDADD) -lpthread