svn commit: samba r17702 - in branches/SAMBA_4_0/source/lib/ldb: .

tridge at samba.org tridge at samba.org
Tue Aug 22 07:21:00 GMT 2006


Author: tridge
Date: 2006-08-22 07:20:59 +0000 (Tue, 22 Aug 2006)
New Revision: 17702

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17702

Log:

test for gcc, and only enable gcc flags if true

Modified:
   branches/SAMBA_4_0/source/lib/ldb/Makefile.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in	2006-08-22 06:49:16 UTC (rev 17701)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in	2006-08-22 07:20:59 UTC (rev 17702)
@@ -31,8 +31,7 @@
 LDB_SQLITE3_OBJ=$(srcdir)/ldb_sqlite3/ldb_sqlite3.o
 endif
 
-CFLAGS1=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
-       -Wcast-qual -Wcast-align -Wwrite-strings -g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
+CFLAGS1=-I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
        -I$(srcdir)/../tdb/include -I$(srcdir)/../tdb -I$(srcdir)/../talloc -DUSE_MMAP=1 $(LDAP_FLAGS)
 
 # enable the following two lines to build with gcov code coverage support



More information about the samba-cvs mailing list