minigbm: Update common.mk to unbreak gcc and bfd builds

Some parts of Android uses gcc and bfd, this imports upstream common.mk
changes required to avoid pass unsupported flags to them.

BUG=b:352469414
TEST=CQ

Change-Id: Ie9f5ff8d0590e215688105db4b24f529fd948383
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/5825982
Commit-Queue: Bas Nieuwenhuizen <[email protected]>
Auto-Submit: Tatsuyuki Ishi <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Tested-by: Tatsuyuki Ishi <[email protected]>
1 file changed