mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/upx: use HOST_CONFIGURE_OPTS
Use HOST_CONFIGURE_OPTS to pass CPPFLAGS and LDFLAGS
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1e0c0055d7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
d605a9ab64
commit
a059cf04f2
@@ -15,10 +15,8 @@ HOST_UPX_DEPENDENCIES = host-ucl host-zlib
|
|||||||
# We need to specify all, otherwise the default target only prints a message
|
# We need to specify all, otherwise the default target only prints a message
|
||||||
# stating to "please choose a target for 'make'"... :-(
|
# stating to "please choose a target for 'make'"... :-(
|
||||||
define HOST_UPX_BUILD_CMDS
|
define HOST_UPX_BUILD_CMDS
|
||||||
$(HOST_MAKE_ENV) $(MAKE) CPPFLAGS="$(HOST_CPPFLAGS)" \
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
|
||||||
LDFLAGS="$(HOST_LDFLAGS)" UPX_UCLDIR=$(HOST_DIR) \
|
UPX_UCLDIR=$(HOST_DIR) CXXFLAGS_WERROR= -C $(@D) all
|
||||||
CXXFLAGS_WERROR= \
|
|
||||||
-C $(@D) all
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# UPX has no install procedure, so install it manually.
|
# UPX has no install procedure, so install it manually.
|
||||||
|
|||||||
Reference in New Issue
Block a user