Skip to content

Commit 498c161

Browse files
committed
Actually use --as-needed in the correct patch
Created using spr 1.3.4
1 parent 6203a67 commit 498c161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxxabi/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if (NOT APPLE) # On Apple platforms, we always use -nostdlib++ so we don't need
7676
endif()
7777

7878
if (FUCHSIA)
79-
add_library_flags(zircon)
79+
add_link_flags("-Wl,--push-state,--as-needed,-lzircon,--pop-state")
8080
endif()
8181

8282
if (NOT LIBCXXABI_USE_COMPILER_RT)

0 commit comments

Comments
 (0)