SOURCES: libsepol-multilib.patch (NEW) - pass CFLAGS when linking

tommat tommat at pld-linux.org
Fri Mar 2 17:18:21 CET 2007


Author: tommat                       Date: Fri Mar  2 16:18:21 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass CFLAGS when linking

---- Files affected:
SOURCES:
   libsepol-multilib.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libsepol-multilib.patch
diff -u /dev/null SOURCES/libsepol-multilib.patch:1.1
--- /dev/null	Fri Mar  2 17:18:21 2007
+++ SOURCES/libsepol-multilib.patch	Fri Mar  2 17:18:16 2007
@@ -0,0 +1,11 @@
+--- libsepol-1.16.0/src/Makefile.orig	2007-03-02 16:18:12.000000000 +0100
++++ libsepol-1.16.0/src/Makefile	2007-03-02 16:18:24.000000000 +0100
+@@ -20,7 +20,7 @@
+ 	ranlib $@
+ 
+ $(LIBSO): $(LOBJS)
+-	$(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,$(LIBSO),--version-script=libsepol.map,-z,defs
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,$(LIBSO),--version-script=libsepol.map,-z,defs
+ 	ln -sf $@ $(TARGET) 
+ 
+ %.o:  %.c 
================================================================


More information about the pld-cvs-commit mailing list