SOURCES: libselinux-multilib.patch (NEW) - pass CFLAGS when linking
tommat
tommat at pld-linux.org
Fri Mar 2 17:36:04 CET 2007
Author: tommat Date: Fri Mar 2 16:36:04 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- pass CFLAGS when linking
---- Files affected:
SOURCES:
libselinux-multilib.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libselinux-multilib.patch
diff -u /dev/null SOURCES/libselinux-multilib.patch:1.1
--- /dev/null Fri Mar 2 17:36:04 2007
+++ SOURCES/libselinux-multilib.patch Fri Mar 2 17:35:59 2007
@@ -0,0 +1,15 @@
+--- libselinux-1.34.0/src/Makefile.orig 2006-11-30 15:29:19.000000000 +0100
++++ libselinux-1.34.0/src/Makefile 2007-03-02 16:40:28.000000000 +0100
+@@ -45,10 +45,10 @@
+ $(CC) $(CFLAGS) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
+
+ $(SWIGSO): $(SWIGLOBJ)
+- $(CC) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
+
+ $(LIBSO): $(LOBJS)
+- $(CC) $(LDFLAGS) -shared -o $@ $^ -ldl -lsepol -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl -lsepol -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
+ ln -sf $@ $(TARGET)
+
+ %.o: %.c policy.h
================================================================
More information about the pld-cvs-commit
mailing list