mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 18:31:54 +01:00
update_engine: fix using delta_generator from update.zip
This commit is contained in:
parent
e1421591d0
commit
913878a8c3
@ -12,7 +12,7 @@ else
|
|||||||
KEYWORDS="amd64 arm x86"
|
KEYWORDS="amd64 arm x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit toolchain-funcs cros-debug cros-workon scons-utils systemd
|
inherit flag-o-matic toolchain-funcs cros-debug cros-workon scons-utils systemd
|
||||||
|
|
||||||
DESCRIPTION="Chrome OS Update Engine"
|
DESCRIPTION="Chrome OS Update Engine"
|
||||||
HOMEPAGE="http://www.chromium.org/"
|
HOMEPAGE="http://www.chromium.org/"
|
||||||
@ -46,6 +46,15 @@ DEPEND="coreos-base/system_api
|
|||||||
${RDEPEND}"
|
${RDEPEND}"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
# Disable PIE when building for the SDK, this works around a bug that
|
||||||
|
# breaks using delta_generator from the update.zip bundle.
|
||||||
|
# https://code.google.com/p/chromium/issues/detail?id=394508
|
||||||
|
# https://code.google.com/p/chromium/issues/detail?id=394241
|
||||||
|
if use cros_host; then
|
||||||
|
append-flags -nopie
|
||||||
|
append-ldflags -nopie
|
||||||
|
fi
|
||||||
|
|
||||||
tc-export CC CXX AR RANLIB LD NM PKG_CONFIG
|
tc-export CC CXX AR RANLIB LD NM PKG_CONFIG
|
||||||
cros-debug-add-NDEBUG
|
cros-debug-add-NDEBUG
|
||||||
export CCFLAGS="$CFLAGS"
|
export CCFLAGS="$CFLAGS"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user