summaryrefslogtreecommitdiff
path: root/debian/patches/latomic.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/latomic.diff')
-rw-r--r--debian/patches/latomic.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/latomic.diff b/debian/patches/latomic.diff
index 404144e2..861f20bf 100644
--- a/debian/patches/latomic.diff
+++ b/debian/patches/latomic.diff
@@ -14,7 +14,7 @@ if anything needs libatomic and add the DT_NEEDED entry where necessary.
endif()
+list(APPEND ABSL_DEFAULT_LINKOPTS
-+ "-Wl,--as-needed" "-latomic" "-Wl,--no-as-needed"
++ "-Wl,--push-state,--as-needed" "-latomic" "-Wl,--pop-state"
+)
+
set(ABSL_CXX_STANDARD "${CMAKE_CXX_STANDARD}")