SOURCES: libdumbtts-Makefile.patch (NEW) - allow to pass CC, CFLAG...
twittner
twittner at pld-linux.org
Tue Apr 15 20:28:57 CEST 2008
Author: twittner Date: Tue Apr 15 18:28:57 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow to pass CC, CFLAGS, LDFLAGS
- fix typo
---- Files affected:
SOURCES:
libdumbtts-Makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libdumbtts-Makefile.patch
diff -u /dev/null SOURCES/libdumbtts-Makefile.patch:1.1
--- /dev/null Tue Apr 15 20:28:57 2008
+++ SOURCES/libdumbtts-Makefile.patch Tue Apr 15 20:28:52 2008
@@ -0,0 +1,26 @@
+--- libdumbtts-0.2.0/src/Makefile~ 2008-04-15 20:16:56.000000000 +0200
++++ libdumbtts-0.2.0/src/Makefile 2008-04-15 20:19:02.000000000 +0200
+@@ -10,9 +10,8 @@
+ INSTALL = /usr/bin/install
+ LN_SF = /bin/ln -sf
+ MKDIR = mkdir -p
+-C = gcc
+ PIC =
+-ARCU = $(shell uname -m)
++ARCH = $(shell uname -m)
+
+ ifeq "$(ARCH)" "x86_64"
+ PIC = -fPIC
+@@ -25,10 +24,10 @@
+ mv $(LIB_NAME) $(LIB_NAME).$(LIBTAG)
+
+ $(OBJS):
+- $(C) -o $(OBJS) -c -Wall libdumbtts.c
++ $(CC) $(CFLAGS) -o $(OBJS) -c -Wall libdumbtts.c
+
+ $(LIB_NAME): $(OBJS)
+- $(C) $(PIC) -shared -Wl,-soname,$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS)
++ $(CC) $(PIC) $(LDFLAGS) -shared -Wl,-soname,$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS)
+
+ clean:
+ rm -f *.o *.a *~ $(LIB_NAME).$(LIBTAG)
================================================================
More information about the pld-cvs-commit
mailing list