diff --git a/dwarves.changes b/dwarves.changes index ee326ae..c7a25ba 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -10,6 +10,7 @@ Fri Oct 2 22:00:47 UTC 2020 - Jan Engelhardt dwarves-dwarf_loader-Ignore-entries-in-a-DW_TAG_partial_unit-for-now.patch, dwarves-dwarf_loader-Bail-out-at-DW_TAG_imported_unit-tags.patch (merged) +- Add forced ELF symvers because of ABI breaks ------------------------------------------------------------------- Mon Sep 21 18:48:25 UTC 2020 - Tom de Vries diff --git a/dwarves.spec b/dwarves.spec index 78ceb0f..8c98b67 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -87,7 +87,9 @@ for processing DWARF, a debugging data format for ELF files. %autosetup -p1 %build -%cmake +sv="$PWD/lib.v" +echo "DWARVES_%version { global: *; };" >"$sv" +%cmake -DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--version-script=$sv" %cmake_build %install