Skip to content

Commit

Permalink
Android.mk: Filter out --build-id=md5 linker flag
Browse files Browse the repository at this point in the history
To avoid conflicts with meson-generated --build-id linker option

Cc: "22.0" "22.1" "22.2" mesa-stable
Reviewed-by: Roman Stratiienko <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17715>
  • Loading branch information
aleasto authored and Marge Bot committed Sep 5, 2022
1 parent 5017e80 commit 554b19b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/mesa3d_cross.mk
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,14 @@ define m-lld-flags
endef

define m-lld-flags-cleaned
$(patsubst -Wl$(comma)--build-id=%,, \
$(subst prebuilts/,$(AOSP_ABSOLUTE_PATH)/prebuilts/, \
$(subst $(OUT_DIR)/,$(call relative-to-absolute,$(OUT_DIR))/, \
$(subst -Wl$(comma)--fatal-warnings,, \
$(subst -Wl$(comma)--no-undefined-version,, \
$(subst -Wl$(comma)--gc-sections,, \
$(patsubst %dummy.o,, \
$(m-lld-flags)))))))
$(m-lld-flags))))))))
endef

define m-cpp-flags
Expand Down

0 comments on commit 554b19b

Please sign in to comment.