public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/pstotext/files: 1.9-flags.patch pstotext-1.8g-dsafer.patch
@ 2010-10-03 14:15 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-10-03 14:15 UTC (permalink / raw
  To: gentoo-commits

jlec        10/10/03 14:15:17

  Added:                1.9-flags.patch
  Removed:              pstotext-1.8g-dsafer.patch
  Log:
  QA, removed old, respecting LDFLAGS/CFLAGS/CC, 335595
  
  (Portage version: 2.2_rc88/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-text/pstotext/files/1.9-flags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pstotext/files/1.9-flags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pstotext/files/1.9-flags.patch?rev=1.1&content-type=text/plain

Index: 1.9-flags.patch
===================================================================
diff --git a/Makefile b/Makefile
index 551e3b8..1d55ebe 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
 # commenting out the includes of ptotdll.h in ptotdll.c and main.c.
 # PMcJ 6 Sep 96
 
-CC=gcc
+CC ?= gcc
 #CC=cc -std
 
 BUNDLE = ocr.h rot270.h rot90.h
@@ -17,18 +17,18 @@ BUNDLE = ocr.h rot270.h rot90.h
 all:	pstotext
 
 main.o: main.c ptotdll.h bundle.h ocr.h rot270.h rot90.h
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 ptotdll.o: ptotdll.c ptotdll.h
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 pstotext: bundle.o main.o ptotdll.o
-	$(CC) -o pstotext main.o bundle.o ptotdll.o -lm
+	$(CC) $(CFLAGS) $(LDFLAGS) -o pstotext main.o bundle.o ptotdll.o -lm
 
 .SUFFIXES: .ps
 
 .c.o:
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 # "Bundle" an Ascii file.
 .ps.h:






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-03 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 14:15 [gentoo-commits] gentoo-x86 commit in app-text/pstotext/files: 1.9-flags.patch pstotext-1.8g-dsafer.patch Justin Lecher (jlec)

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