summaryrefslogtreecommitdiff
blob: 788723c5be00718b8453ccd2b4d6f452bfcf4e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur ircservices-5.1.12/modules/Makerules ircservices-5.1.12.orig/modules/Makerules
--- ircservices-5.1.12/modules/Makerules	2008-09-22 17:37:48.000000000 +0000
+++ ircservices-5.1.12.orig/modules/Makerules	2008-09-22 17:33:51.000000000 +0000
@@ -172,7 +172,7 @@
 $(TARGET).o: .compiled-$(TARGET).o FRC
 	@echo >/dev/null
 .compiled-$(TARGET).o: $(TARGET).c $(DEPS) $(INCLUDES2)
-	cd $(TOPDIR) && $(CC) $(CFLAGS) -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o
+	cd $(TOPDIR) && $(CC) $(CFLAGS) -fPIC -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o
 	@rm -f $@
 	@ln -s $(TARGET).o $@