mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r22952: Make sure we look at extra_cflags when building custom targets.
This commit is contained in:
parent
58551f2f28
commit
2d990cd374
@ -149,9 +149,13 @@ PRIVATE_DEPENDENCIES = \
|
||||
# End MODULE ldb_tdb
|
||||
################################################
|
||||
|
||||
# NOTE: this rule is broken for some systems when $builddir != $srcdir because
|
||||
# it hardcodes the use of $<. See smb_build/makefile.pm.
|
||||
./lib/ldb/common/ldb_modules.o: lib/ldb/common/ldb_modules.c Makefile
|
||||
@echo Compiling $<
|
||||
@$(CC) -Iinclude $(CFLAGS) -Ilib/replace -Ilib/talloc -Ilib/ldb/include $(PICFLAG) -DLDBMODULESDIR=\"$(MODULESDIR)/ldb\" -DSHLIBEXT=\"$(SHLIBEXT)\" -c $< -o $@
|
||||
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) \
|
||||
-DLDBMODULESDIR=\"$(MODULESDIR)/ldb\" -DSHLIBEXT=\"$(SHLIBEXT)\" \
|
||||
-c $< -o $@
|
||||
|
||||
################################################
|
||||
# Start SUBSYSTEM ldb
|
||||
|
Loading…
Reference in New Issue
Block a user