public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/jq/files: jq-1.2-makefile.patch
@ 2013-01-04 18:34 Tim Harder (radhermit)
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2013-01-04 18:34 UTC (permalink / raw
  To: gentoo-commits

radhermit    13/01/04 18:34:32

  Added:                jq-1.2-makefile.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

Revision  Changes    Path
1.1                  app-misc/jq/files/jq-1.2-makefile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/jq/files/jq-1.2-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/jq/files/jq-1.2-makefile.patch?rev=1.1&content-type=text/plain

Index: jq-1.2-makefile.patch
===================================================================
--- jq-jq-1.2/Makefile
+++ jq-jq-1.2/Makefile
@@ -1,5 +1,5 @@
-CC=gcc
-CFLAGS=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function $(EXTRA_CFLAGS)
+CC?=gcc
+CFLAGS+=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -Wno-unused-function $(EXTRA_CFLAGS)
 
 prefix=/usr/local
 mandir=$(prefix)/share/man
@@ -28,11 +28,10 @@
 
 jq_test: CFLAGS += -DJQ_DEBUG=1
 jq_test: $(JQ_SRC) jq_test.c
-	$(CC) $(CFLAGS) $(CFLAGS_DEBUG) -o $@ $^
+	$(CC) $(CFLAGS) $(LDFLAGS) $(CFLAGS_DEBUG) -o $@ $^
 
-jq: CFLAGS += -O -DJQ_DEBUG=0
 jq: $(JQ_SRC) main.c
-	$(CC) $(CFLAGS) $(CFLAGS_OPT) -o $@ $^
+	$(CC) $(CFLAGS) $(LDFLAGS) $(CFLAGS_OPT) -o $@ $^
 
 test: jq_test
 	valgrind --error-exitcode=1 -q --leak-check=full ./jq_test >/dev/null





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

* [gentoo-commits] gentoo-x86 commit in app-misc/jq/files: jq-1.2-makefile.patch
@ 2013-12-10  0:56 Tim Harder (radhermit)
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2013-12-10  0:56 UTC (permalink / raw
  To: gentoo-commits

radhermit    13/12/10 00:56:14

  Removed:              jq-1.2-makefile.patch
  Log:
  Remove old.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)


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

end of thread, other threads:[~2013-12-10  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 18:34 [gentoo-commits] gentoo-x86 commit in app-misc/jq/files: jq-1.2-makefile.patch Tim Harder (radhermit)
  -- strict thread matches above, loose matches on Subject: below --
2013-12-10  0:56 Tim Harder (radhermit)

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