1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/wafsamba
Rusty Russell 3ccfe7cb7b Add -fno-common where supported (WAF only)
Normally under UNIX, uninitialized non-static global variables get
placed in the "common" section, where they are merged at link time.
This means if two C files define "int debug", they will end up
referring to the same variable.  Or if one does "float level" and the
other does "int level" you'll get an accidental union.

Such bugs can be hard to track down; fortunately GCC offers
-fno-common to disable this feature.  It didn't reveal any places
which need fixing, however).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-10 11:37:30 +09:30
..
gccdeps.py build: gccdeps fixes from ita 2010-04-06 20:26:55 +10:00
generic_cc.py build: try the generic C compiler on hpux if gcc not found 2010-04-06 20:27:24 +10:00
hpuxcc.py build: hpux didn't support -Bdynamic 2010-12-15 12:07:32 +03:00
irixcc.py build: added 'generic' cc support and a simple irix cc support module 2010-04-06 20:27:23 +10:00
nothreads.py build: enable nothreads workaround only with WAF_NOTHREADS=1 2010-04-06 20:27:21 +10:00
pkgconfig.py buildtools/wafsamba: import 'sys' and 'Logs' if we use them 2011-01-05 12:30:23 +01:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py build: allow s3 libraries to be built with no undefined symbols 2011-05-08 10:59:18 +02:00
samba_abi.py samba_abi: Also sort ABI files properly so symbols end up in the right version. 2011-03-12 02:45:20 +01:00
samba_autoconf.py Add -fno-common where supported (WAF only) 2011-05-10 11:37:30 +09:30
samba_autoproto.py waf: fixed the build with a space in the source directory 2010-11-21 23:10:14 +11:00
samba_bundled.py s4-waf: Only show minversion when there was a minimum version specified. 2011-01-24 17:15:49 -08:00
samba_conftests.py build: add a function to test if -lc is needed 2010-12-10 23:22:28 +03:00
samba_cross.py build: fixed uname output to be on target machine when cross compiling 2010-04-21 15:16:01 +10:00
samba_deps.py waf: introduce reverse logic for allowing unknown symbols 2011-04-26 17:16:34 +10:00
samba_dist.py s4-build: fixed uses of os.path.relpath() 2011-02-07 05:49:58 +01:00
samba_headers.py build: added simple header handling for our libraries 2011-03-15 13:09:30 +11:00
samba_install.py build: fixed the ELF name for private libraries 2011-03-02 02:49:34 +01:00
samba_optimisation.py waf: fixed tabs/spaces for python3.0 2010-11-08 00:55:13 +00:00
samba_patterns.py waf: added --git-local-changes configure option 2010-11-16 01:51:54 +00:00
samba_pidl.py wafsamba: quote CPP and CC values when calling pidl 2011-01-19 20:23:50 +01:00
samba_python.py waf: use PYTHONARCHDIR for installing python shared libs 2011-01-14 08:19:39 +01:00
samba_utils.py waf: ensure that MAKEFLAGS is set before parsing it 2011-03-15 13:56:46 +11:00
samba_version.py build: fixed 'make dist' without configuring 2011-02-23 07:55:28 +01:00
samba_wildcard.py waf: fixed wildcard build for full paths 2010-11-03 10:53:12 +11:00
stale_files.py wafsamba: don't follow symlinks outside the build tree 2011-03-15 12:22:18 +11:00
symbols.py build: use readelf as a replacement for ldd 2011-04-13 04:37:33 +02:00
tru64cc.py build: tru64 needs -shared for building libs 2010-12-08 08:33:54 +01:00
wafsamba.py waf: build headers in separate 'headers' build group 2011-03-15 12:22:20 +11:00
wscript build: added WHYNEEDED=TARGET:DEPENDENCY 2011-02-22 03:35:58 +01:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf