1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

r17702: test for gcc, and only enable gcc flags if true

This commit is contained in:
Andrew Tridgell
2006-08-22 07:20:59 +00:00
committed by Gerald (Jerry) Carter
parent bd1bd1c5ce
commit 6495620d18

View File

@@ -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