public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-plugins/tap-plugins/files: tap-plugins-0.7.3-cflags-ldflags.patch
@ 2014-12-03 16:58 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2014-12-03 16:58 UTC (permalink / raw
  To: gentoo-commits

aballier    14/12/03 16:58:48

  Added:                tap-plugins-0.7.3-cflags-ldflags.patch
  Log:
  version bump
  
  Signed-off-by: aballier@gentoo.org
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

Revision  Changes    Path
1.1                  media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch?rev=1.1&content-type=text/plain

Index: tap-plugins-0.7.3-cflags-ldflags.patch
===================================================================
Index: tap-plugins-0.7.3/Makefile
===================================================================
--- tap-plugins-0.7.3.orig/Makefile
+++ tap-plugins-0.7.3/Makefile
@@ -35,8 +35,11 @@ INSTALL_LRDF_DIR	=	/usr/local/share/lads
 # GENERAL
 
 CC	= gcc
-CFLAGS	= -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
-LDFLAGS	= -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+OPT_CFLAGS = -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math 
+CFLAGS	= -I. -Wall $(OPT_CFLAGS) -c -fPIC -DPIC
+EXTRA_LDFLAGS  = 
+LDFLAGS	= -nostartfiles -shared -Wl,-Bsymbolic  $(EXTRA_LDFLAGS)
+LIBADD = -lc -lm -lrt
 MODULES = $(wildcard *.c)
 
 all: $(MODULES:%.c=%.so)
@@ -51,7 +54,7 @@ tap_dynamics_st.o: tap_dynamics_presets.
 	$(CC) $(CFLAGS) $< -o $@
 
 %.so: %.o
-	$(CC) -o $@ $< $(LDFLAGS)
+	$(CC) $(LDFLAGS) -o $@ $< $(LIBADD)
 
 # OTHER TARGETS
 





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

only message in thread, other threads:[~2014-12-03 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 16:58 [gentoo-commits] gentoo-x86 commit in media-plugins/tap-plugins/files: tap-plugins-0.7.3-cflags-ldflags.patch Alexis Ballier (aballier)

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