]> git.pld-linux.org Git - packages/catcodec.git/commitdiff
- pass our CFLAGS and LDFLAGS
authorlisu <lisu@pld-linux.org>
Fri, 23 Apr 2010 14:18:55 +0000 (14:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    catcodec-flags.patch -> 1.1

catcodec-flags.patch [new file with mode: 0644]

diff --git a/catcodec-flags.patch b/catcodec-flags.patch
new file mode 100644 (file)
index 0000000..4ef35db
--- /dev/null
@@ -0,0 +1,20 @@
+--- catcodec-1.0.0/Makefile~   2009-11-05 23:33:48.000000000 +0100
++++ catcodec-1.0.0/Makefile    2010-04-23 16:10:15.281761128 +0200
+@@ -19,7 +19,7 @@
+ OBJS = catcodec.o io.o sample.o rev.o
+ OS = unknown
+-CFLAGS += -Wall -Wcast-qual -Wwrite-strings -Wno-multichar
++CFLAGS += -Wall -Wcast-qual -Wwrite-strings -Wno-multichar $(OPTFLAGS)
+ ifdef DEBUG
+       CFLAGS += -g -ggdb
+ endif
+@@ -30,7 +30,7 @@
+       $(CXX) $(CFLAGS) -c -o $@ $^
+ $(CATCODEC): $(OBJS)
+-      $(CXX) $(CFLAGS) -o $@ $^
++      $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $^
+ VERSION := $(shell ./findversion.sh | cut -f 1 -d'    ')
+ RES := $(shell if [ "`cat version.cache 2>/dev/null`" != "$(VERSION)" ]; then echo "$(VERSION)" > version.cache; fi )
This page took 0.143127 seconds and 4 git commands to generate.