diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-02-24 13:25:53 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-02-24 13:25:53 +0100 |
commit | de70e3739d2e69806ddfd47efa8b21aa1864b15e (patch) | |
tree | a36cce23a53c3a9fd9b7b4e2331572ecbfb2b76c /pkgs/os-specific/linux/libselinux/fPIC.patch | |
parent | f6b28fad730253d58a89776862cc12a000afbd20 (diff) | |
download | nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.gz nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.bz2 nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.lz nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.xz nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.zst nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.zip |
SELinux fixes and updates to 2012-09-24
Diffstat (limited to 'pkgs/os-specific/linux/libselinux/fPIC.patch')
-rw-r--r-- | pkgs/os-specific/linux/libselinux/fPIC.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/libselinux/fPIC.patch b/pkgs/os-specific/linux/libselinux/fPIC.patch new file mode 100644 index 00000000000..fdc1fa41a33 --- /dev/null +++ b/pkgs/os-specific/linux/libselinux/fPIC.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile b/src/Makefile +index ac019df..00432b9 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -132,7 +132,7 @@ $(AUDIT2WHYSO): $(AUDIT2WHYLOBJ) + $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR) + + %.o: %.c policy.h +- $(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) $(TLSFLAGS) -fPIC -c -o $@ $< + + %.lo: %.c policy.h + $(CC) $(CFLAGS) -fPIC -DSHARED -c -o $@ $< |