Use -z defs to catch undefineds at build time
This commit is contained in:
parent
d180de79b8
commit
a76ab71b8b
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ gb_CppunitTest_CPPTESTPRECOMMAND := :
|
|||
# eventually enable this to be done this in some more elegant and less
|
||||
# redundant fashion.
|
||||
|
||||
gb_LinkTarget_LDFLAGS += \
|
||||
-Wl,-z,defs \
|
||||
|
||||
define gb_LinkTarget__command_dynamiclink
|
||||
$(call gb_Helper_abbreviate_dirs,\
|
||||
mkdir -p $(dir $(1)) && \
|
||||
|
|
Loading…
Reference in a new issue