packages: openldap-module-sha2/openldap-module-sha2.make - compile with -fP...

pawelz pawelz at pld-linux.org
Fri Nov 20 19:18:43 CET 2009


Author: pawelz                       Date: Fri Nov 20 18:18:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- compile with -fPIC
- s/CCFLAGS/CFLAGS/
- thx glen

---- Files affected:
packages/openldap-module-sha2:
   openldap-module-sha2.make (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/openldap-module-sha2/openldap-module-sha2.make
diff -u packages/openldap-module-sha2/openldap-module-sha2.make:1.1 packages/openldap-module-sha2/openldap-module-sha2.make:1.2
--- packages/openldap-module-sha2/openldap-module-sha2.make:1.1	Fri Nov 20 18:30:37 2009
+++ packages/openldap-module-sha2/openldap-module-sha2.make	Fri Nov 20 19:18:38 2009
@@ -1,12 +1,12 @@
 # $Id$
 
-CCFLAGS = -Wall -g
+CFLAGS = -Wall -g
 
 slapd-sha2.so: slapd-sha2.o sha2.o
-	$(CC) -I$(OPENLDAPINC) -shared -Wall -g $^ -o $@
+	$(CC) -I$(OPENLDAPINC) -fPIC -shared -Wall -g $^ -o $@
 
 %.o: %.c
-	$(CC) -I$(OPENLDAPINC) $(CCFLAGS) -c $<
+	$(CC) -I$(OPENLDAPINC) $(CFLAGS) -c $<
 
 clean:
 	@rm -f slapd-sha2.so *.o
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap-module-sha2/openldap-module-sha2.make?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list