public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dialup/slmodem/files: slmodem-2.9.11-makefile-r1.patch
@ 2008-05-19 20:26 Alin Nastac (mrness)
  0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2008-05-19 20:26 UTC (permalink / raw
  To: gentoo-commits

mrness      08/05/19 20:26:53

  Added:                slmodem-2.9.11-makefile-r1.patch
  Log:
  Version bump (#222537).
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch?rev=1.1&content-type=text/plain

Index: slmodem-2.9.11-makefile-r1.patch
===================================================================
diff -Nru slmodem-2.9.11-20080417.orig/modem/Makefile slmodem-2.9.11-20080417/modem/Makefile
--- slmodem-2.9.11-20080417.orig/modem/Makefile	2008-04-18 06:06:17.000000000 +0300
+++ slmodem-2.9.11-20080417/modem/Makefile	2008-05-19 23:18:45.000000000 +0300
@@ -16,15 +16,15 @@
 ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)
 
 ifeq ($(ARCH64), 0)
-CC:= gcc
+CC?= gcc
 else
 # SUPPORT_ALSA:=1
-CC:= gcc -m32
+CC?= gcc -m32
 endif
 
 RM:= rm -f
 
-CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM
+CFLAGS+= -Wall -finline -I. -DCONFIG_DEBUG_MODEM
 
 modem-objs:= \
 	modem.o modem_datafile.o modem_at.o modem_timer.o \
@@ -42,18 +42,18 @@
 ifdef SUPPORT_ALSA
 CFLAGS+= -DSUPPORT_ALSA=1
 ifeq ($(ARCH64), 0)
-LFLAGS+= /usr/lib/libasound.so
+LDLIBS+= /usr/lib/libasound.so
 else
 # LFLAGS+= /usr/lib32/libasound.so , replaced by -l commands search for asound
-LFLAGS+= -lasound
+LDLIBS+= -lasound
 endif
 endif
 
 slmodemd:
-	$(CC) -o slmodemd modem_main.o $(all-objs) $(LFLAGS)
+	$(CC) $(LDFLAGS) -o slmodemd modem_main.o $(all-objs) $(LDLIBS)
 
 modem_test:
-	$(CC) -o modem_test modem_test.o $(all-objs) $(LFLAGS)
+	$(CC) $(LDFLAGS) -o modem_test modem_test.o $(all-objs) $(LDLIBS)
 
 clean:
 	$(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)



-- 
gentoo-commits@lists.gentoo.org mailing list



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

only message in thread, other threads:[~2008-05-19 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 20:26 [gentoo-commits] gentoo-x86 commit in net-dialup/slmodem/files: slmodem-2.9.11-makefile-r1.patch Alin Nastac (mrness)

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