aballier    14/12/03 16:58:48

  Added:                tap-plugins-0.7.3-cflags-ldflags.patch
  Log:
  version bump
  
  Signed-off-by: [email protected]
  (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
 




Reply via email to