diff options
Diffstat (limited to 'android/mesa3d_cross.mk')
-rw-r--r-- | android/mesa3d_cross.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/android/mesa3d_cross.mk b/android/mesa3d_cross.mk index ac06efcee15..da63cc9393f 100644 --- a/android/mesa3d_cross.mk +++ b/android/mesa3d_cross.mk @@ -170,8 +170,9 @@ define m-lld-flags-cleaned $(subst out/,$(AOSP_ABSOLUTE_PATH)/out/, \ $(subst -Wl$(comma)--fatal-warnings,, \ $(subst -Wl$(comma)--no-undefined-version,, \ - $(patsubst %dummy.o,, \ - $(m-lld-flags)))))) + $(subst -Wl$(comma)--gc-sections,, \ + $(patsubst %dummy.o,, \ + $(m-lld-flags))))))) endef define m-cpp-flags |