public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-tv/v4l2-ctl/files: v4l2-ctl-1.4.0-QA.patch
@ 2010-08-09  7:47 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; 2+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2010-08-09  7:47 UTC (permalink / raw
  To: gentoo-commits

xarthisius    10/08/09 07:47:21

  Added:                v4l2-ctl-1.4.0-QA.patch
  Log:
  Respect user FLAGS wrt bug 321311
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-tv/v4l2-ctl/files/v4l2-ctl-1.4.0-QA.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/v4l2-ctl/files/v4l2-ctl-1.4.0-QA.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/v4l2-ctl/files/v4l2-ctl-1.4.0-QA.patch?rev=1.1&content-type=text/plain

Index: v4l2-ctl-1.4.0-QA.patch
===================================================================
Respect user {CC,CXX,LD}FLAGS, fix linking order

http://bugs.gentoo.org/show_bug.cgi?id=321311

--- utils/Makefile
+++ utils/Makefile
@@ -16,30 +16,30 @@
 
 HEADERS := linux/ivtv.h linux/ivtvfb.h
 
-CFLAGS = -D_GNU_SOURCE -O2 -Wall -g -I.
-CXXFLAGS = $(CFLAGS)
+CFLAGS   += -D_GNU_SOURCE -I.
+CXXFLAGS += -D_GNU_SOURCE -I.
 
 all:: $(EXES)
 	$(MAKE) CFLAGS="$(CFLAGS)" -C ivtv-tune
 	$(MAKE) CFLAGS="$(CFLAGS)" -C cx25840ctl
 
 ivtv-ctl: ivtv-ctl.o
-	$(CC) -lm -o $@ $^
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm
 
 v4l2-ctl: v4l2-ctl.o
-	$(CXX) -lm -o $@ $^
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ -lm
 
 v4l2-dbg: v4l2-dbg.o v4l2-driverids.o v4l2-chipids.o
-	$(CXX) -lm -o $@ $^
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ -lm
 
 ivtvplay: ivtvplay.cc
-	$(CXX) $(CXXFLAGS) -lm -lpthread -o $@ $^
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ -lm -lpthread
 
 encoder.o: encoder.c
 	$(CC) $(CFLAGS) -DVIDEO_PORT=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c $^
 
 ivtv-encoder: enc_mindex.o enc_chann.o encoder.o
-	$(CC) -lpthread -o $@ $^
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lpthread
 
 install: all
 	install -d $(DESTDIR)/$(HDRDIR)






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-tv/v4l2-ctl/files: v4l2-ctl-1.4.0-QA.patch
@ 2010-11-05 22:23 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-11-05 22:23 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/11/05 22:23:33

  Removed:              v4l2-ctl-1.4.0-QA.patch
  Log:
  punt v4l2-ctl, let blockers take care of it



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-05 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09  7:47 [gentoo-commits] gentoo-x86 commit in media-tv/v4l2-ctl/files: v4l2-ctl-1.4.0-QA.patch Kacper Kowalik (xarthisius)
  -- strict thread matches above, loose matches on Subject: below --
2010-11-05 22:23 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox