golang: Simplify target compile
* Reuse GO_PKG_ENABLE_PIE from golang-package.mk
* Replace $(if ...) with $(or ...) to get default values
* Refactor vars common to each compile stage into variable
Signed-off-by:
Jeffery To <jeffery.to@gmail.com>
parent
03a1f875
Please register or sign in to comment