summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-08-22 07:20:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:27 -0500
commitd5c4606798fe291593f7d70080c25643a48124c0 (patch)
tree17fcf4ae528e3377dfdf850e6a29a469a9d38ca6 /source4
parent8c532158847a460e6ce6714f0922fa413a5acd63 (diff)
downloadsamba-d5c4606798fe291593f7d70080c25643a48124c0.tar.gz
samba-d5c4606798fe291593f7d70080c25643a48124c0.tar.bz2
samba-d5c4606798fe291593f7d70080c25643a48124c0.zip
r17702: test for gcc, and only enable gcc flags if true
(This used to be commit 6495620d1819a50b79c77258ced9d0cadd25e129)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 5365d919ab..d645a3ec4d 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -31,8 +31,7 @@ SQLITE3_FLAGS=-DHAVE_SQLITE3=1
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