summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-21 17:41:42 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-21 19:03:27 +1100
commit0966776b363ac7a66a5d22c05d474e35e6994c68 (patch)
treeda8959513507a4360bc5c7a0f8112505080da552 /source4/heimdal_build/wscript_build
parent97ce2d89655497320ca5842b9dd8dd0d7071bb64 (diff)
downloadsamba-0966776b363ac7a66a5d22c05d474e35e6994c68.tar.gz
samba-0966776b363ac7a66a5d22c05d474e35e6994c68.tar.bz2
samba-0966776b363ac7a66a5d22c05d474e35e6994c68.zip
waf: fixed the handling of -Wl,-no-undefined
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-rw-r--r--source4/heimdal_build/wscript_build4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index ddcc76ec3c..dc780b470b 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -2,7 +2,7 @@
import os
from samba_utils import SET_TARGET_TYPE
-from samba_autoconf import CURRENT_CFLAGS, CURRENT_LDFLAGS
+from samba_autoconf import CURRENT_CFLAGS
def to_list(str):
'''Split a list, preserving quoted strings and existing lists'''
@@ -219,7 +219,6 @@ def HEIMDAL_LIBRARY(libname, source, deps, vnum,
features = features,
source = [],
target = bundled_name,
- samba_cflags = CURRENT_LDFLAGS(bld, libname, cflags),
samba_deps = deps,
samba_includes = includes,
vnum = vnum,
@@ -320,7 +319,6 @@ def HEIMDAL_BINARY(binname, source,
features = features,
source = [],
target = binname,
- samba_cflags = CURRENT_LDFLAGS(bld, binname, cflags),
samba_deps = deps,
samba_includes = includes,
local_include = True,