s3-test: try to avoid a problem of CFLAGS propogating to the torture build
authorAndrew Tridgell <tridge@samba.org>
Wed, 24 Nov 2010 12:53:38 +0000 (23:53 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 24 Nov 2010 13:40:16 +0000 (14:40 +0100)
CFLAGS is set by s3 to include -D_SAMBA_BUILD_=3. We need to ensure
this does not propogate to the smbtorture4 build

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 24 14:40:16 CET 2010 on sn-devel-104

source3/Makefile.in

index faeb3e7513c032b9cc79a9faccf71c303da5cda1..da531d8930215d7cb998733e71cf30472b83d3b9 100644 (file)
@@ -3472,8 +3472,8 @@ clean_libnetapi_examples:
        cd ../source4 && ./autogen.sh
 
 samba4-configure: ../source4/configure
-       @$(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
-               ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
+       @CFLAGS='' $(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
+               CFLAGS='' ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
 
 .PHONY: samba4-configure