diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-04-09 21:20:25 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-04-16 16:38:03 +0300 |
commit | 3dff4af5e053b9b64b1167621088ed8eea9e3222 (patch) | |
tree | 9066011f9a45daee4b861039bf7c3a5bd74cc6c2 /tools | |
parent | beddb3be3ffcd61b67a5d541134a5e76685e6f14 (diff) |
quick_dump: Don't allow undefined symbols in _chipset.so
Every time _chipset.so has undefined symbols we fail to notice it
at build time and then get to wonder why quick_dump fails to actually
work. Pass -Wl,--no-undefined to the linker to get a build time error
instead of the current runtime error.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/quick_dump/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/quick_dump/Makefile.am b/tools/quick_dump/Makefile.am index 641066de..fd023e78 100644 --- a/tools/quick_dump/Makefile.am +++ b/tools/quick_dump/Makefile.am @@ -4,7 +4,8 @@ dist_bin_SCRIPTS = quick_dump.py reg_access.py bin_SCRIPTS = chipset.py lib_LTLIBRARIES = I915ChipsetPython.la -I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) +I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) \ + -Wl,--no-undefined I915ChipsetPython_la_SOURCES = chipset_macro_wrap.c nodist_I915ChipsetPython_la_SOURCES = chipset_wrap_python.c I915ChipsetPython_la_LIBADD = \ |