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

jlec        10/10/03 12:43:15

  Added:                4.9-gentoo.patch
  Log:
  Version Bump, 284197; LDFLAGS respect, 333537
  
  (Portage version: 2.2_rc88/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-text/gsview/files/4.9-gentoo.patch

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

Index: 4.9-gentoo.patch
===================================================================
diff --git a/srcunx/unx.mak b/srcunx/unx.mak
index 3bd1769..ee86618 100644
--- a/srcunx/unx.mak
+++ b/srcunx/unx.mak
@@ -39,7 +39,7 @@ GSVIEW_DOCPATH=$(GSVIEW_BASE)/share/doc
 GSVIEW_ETCPATH=$(prefix)/etc
 
 MAKE=make
-CC=gcc
+CC ?= gcc
 OBJ=o
 INSTALL=install -m 644
 INSTALL_EXE=install -m 755
@@ -77,7 +77,7 @@ PLINK=-lpthread -lrt
 
 # Other possible options are -Wtraditional
 # Compiler flags for C and C++ files.
-CFLAGS=-O -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
+CFLAGS += $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
 
 # Linker flags
 LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs`
@@ -155,7 +155,7 @@ all: $(BD)gsview$(EXE) html
 GSVIEW_DOCDIR=$(GSVIEW_DOCPATH)/gsview-$(GSVIEW_DOT_VERSION)
 
 $(BD)gsview$(EXE): $(OBJS)
-	$(COMP) $(CFLAGS) $(FO)$(BD)gsview$(EXE) $(OBJS) $(LFLAGS)
+	$(COMP) $(CFLAGS) $(LDFLAGS) $(FO)$(BD)gsview$(EXE) $(OBJS) $(LFLAGS)
 
 install: all
 	-mkdir -p $(GSVIEW_BASE)






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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 12:43 [gentoo-commits] gentoo-x86 commit in app-text/gsview/files: 4.9-gentoo.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