mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
14 lines
435 B
Diff
14 lines
435 B
Diff
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 $@ $<
|