summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-02-04 10:35:45 +0100
committerBjörn Jacke <bj@sernet.de>2010-02-04 10:37:17 +0100
commitacedd1c8320afa672ca70c6594bc90ccb7e75a6a (patch)
treecc00f9b84f37bdafa3e71e1c926c190e8d7b858b /source3
parentae95e8028c294ee1e2dc66a7a62d006572142629 (diff)
downloadsamba-acedd1c8320afa672ca70c6594bc90ccb7e75a6a.tar.gz
samba-acedd1c8320afa672ca70c6594bc90ccb7e75a6a.tar.bz2
samba-acedd1c8320afa672ca70c6594bc90ccb7e75a6a.zip
s3: fix build on Tru64 after it broke with deactivating pthread pool support
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 6edb339dd7..cd112f7430 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -73,6 +73,7 @@ UUID_LIBS=@UUID_LIBS@
LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
LIBWBCLIENT_LIBS=@LIBWBCLIENT_LIBS@
PTHREAD_LDFLAGS=@PTHREAD_LDFLAGS@
+PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
DNSSD_LIBS=@DNSSD_LIBS@
AVAHI_LIBS=@AVAHI_LIBS@
POPT_LIBS=@POPTLIBS@
@@ -1409,6 +1410,8 @@ wins : SHOWFLAGS @WINBIND_WINS_NSS@
modules:: SHOWFLAGS $(MODULES)
+$(LIBSMBCLIENT_THREAD_OBJ): EXTRA_FLAGS := $(PTHREAD_CFLAGS)
+
#####################################################################
## Perl IDL Compiler
samba3-idl::
@@ -1467,11 +1470,11 @@ MAKEDIR = || exec false; \
exec false; fi || exec false
# Run a static checker.
-CHECK_CC = $(CC_CHECKER) $(CFLAGS) $(PICFLAG) -c $< -o $@
+CHECK_CC = $(CC_CHECKER) $(CFLAGS) $(EXTRA_FLAGS) $(PICFLAG) -c $< -o $@
# Compile a source file.
-COMPILE_CC = $(CC) $(CFLAGS) $(PICFLAG) -c $< -o $@
+COMPILE_CC = $(CC) $(CFLAGS) $(EXTRA_FLAGS) $(PICFLAG) -c $< -o $@
# Compile a source file with the installation paths defined.
-COMPILE_CC_PATH = $(CC) $(PATH_FLAGS) $(CFLAGS) $(PICFLAG) -c $< -o $@
+COMPILE_CC_PATH = $(CC) $(PATH_FLAGS) $(CFLAGS) $(EXTRA_FLAGS) $(PICFLAG) -c $< -o $@
COMPILE = $(COMPILE_CC)