public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/cpuid/files: cpuid-20110305-Makefile.patch
@ 2011-06-15 12:11 Markos Chandras (hwoarang)
  0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2011-06-15 12:11 UTC (permalink / raw
  To: gentoo-commits

hwoarang    11/06/15 12:11:32

  Added:                cpuid-20110305-Makefile.patch
  Log:
  Initial commit. Bug #179805
  
  (Portage version: 2.2.0_alpha39/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/cpuid/files/cpuid-20110305-Makefile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/cpuid/files/cpuid-20110305-Makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/cpuid/files/cpuid-20110305-Makefile.patch?rev=1.1&content-type=text/plain

Index: cpuid-20110305-Makefile.patch
===================================================================
Index: cpuid-20110305/Makefile
===================================================================
--- cpuid-20110305.orig/Makefile
+++ cpuid-20110305/Makefile
@@ -1,7 +1,3 @@
-CFLAGS=-g
-ifneq (,$(findstring arch=i386,$(CFLAGS)))
-CISA=-m32
-endif
 CFL=$(CFLAGS) $(CISA) -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -DVERSION=$(VERSION)
 
 PACKAGE=cpuid
@@ -36,14 +32,14 @@ BUILDROOT=
 default: $(PROG) $(PROG).man.gz
 
 $(PROG): cpuid.c Makefile
-	$(CC) $(CFL) -o $@ cpuid.c
+	$(CC) $(CFL) $(LDFLAGS) -o $@ cpuid.c
 
 $(PROG).man.gz: $(PROG).man
 	gzip < $< > $@
 
 install: $(PROG) $(PROG).man.gz
-	install -D -s -m 755 $(PROG)        $(BUILDROOT)/usr/bin/$(PROG)
-	install -D    -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz
+	install -D -m 755 $(PROG)        $(BUILDROOT)/usr/bin/$(PROG)
+	install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz
 
 clean:
 	rm -f $(PROG) $(PROG).i386 $(PROG).x86_64






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

only message in thread, other threads:[~2011-06-15 12:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 12:11 [gentoo-commits] gentoo-x86 commit in sys-apps/cpuid/files: cpuid-20110305-Makefile.patch Markos Chandras (hwoarang)

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