aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-07-25 01:56:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-07-25 01:56:37 +0000
commit135e56a3abc12c2374f002991f3a1f40acb04666 (patch)
tree08cd26db47b3ff933c7769f59b2d43f06e835214
parent352df531fe23893d45ef00c6671f48dbadb815fb (diff)
parent02786fa2a357688cdff5ea8d38d943099e76192a (diff)
downloadiproute2-135e56a3abc12c2374f002991f3a1f40acb04666.tar.gz
Merge "Fix duplicate symbols error in external/iproute2" into main
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c9c79304..f804ef9b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -87,5 +87,8 @@ cc_defaults {
"-DNO_SHARED_LIBS",
"-Dstrdupa(__S)=strcpy(alloca(strlen(__S) + 1), __S)",
+ "-fcommon", //ld.lld: error: duplicate symbol filter: external/iproute2/ip/ipmroute.c:53 and external/iproute2/ip/ipxfrm.c:44
+ //ld.lld: error: duplicate symbol listen_all_nsid: external/iproute2/ip/ipmonitor.c:29 and external/iproute2/ip/xfrm_monitor.c:37
+ //Fixed upstream so we enable -fcommon locally
],
}