Skip to contentSkip to conversation

kms_flip: Add -lrt back

PATCH In review [email protected] 2 participants 2 messages Dec 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms_flip: Add -lrt back

From: Ville Syrjälä <[email protected]>

kms_flip doesn't build due to missing -lrt.

The build was broken due to a typo in this commit:

commit acdf7171264a5139caabb78127c9eef5080c0682

Author: Daniel Vetter <[email protected]>
Date:   Sat Dec 15 00:48:47 2012 +0100

tests: s/flip_test/kms_flip

OCD wins!

For some reason libudev.pc brings in -lrt as well, which probably caused the typo to go unnoticed.

---
 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tests/Makefile.am +1 -1
index 9cafe4c..0476908 100644
@@ -180,7 +180,7 @@ gem_fence_thrash_LDADD = $(LDADD) -lpthread
 gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
 
 gem_wait_render_timeout_LDADD = $(LDADD) -lrt
-kms_flip = $(LDADD) -lrt
+kms_flip_LDADD = $(LDADD) -lrt
 
 gem_ctx_basic_LDADD = $(LDADD) -lpthread
 
Signature · 6 lines
1.7.8.6

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 12 lines · On Tue, Dec 18, 2012 at 04:51:27PM +0200, [email protected] wrote:

From: Ville Syrjälä <[email protected]>

kms_flip doesn't build due to missing -lrt.

The build was broken due to a typo in this commit:

commit acdf7171264a5139caabb78127c9eef5080c0682

Author: Daniel Vetter <[email protected]>
Date:   Sat Dec 15 00:48:47 2012 +0100

tests: s/flip_test/kms_flip

Quoted 8 lines

OCD wins!

For some reason libudev.pc brings in -lrt as well, which probably caused the typo to go unnoticed.

Blargh, I suck, thanks for fixing this up.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch