mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
squid: Remove buildpaths from generated binaries
Compiler invocation and flags are added to SQUID_CONFIGURE_OPTIONS which is added via generated autoconf.h during configure step. Since OE encodes sysroot and buildpaths for cross compile, they end up in squid binary, this patch removes from workdir from them so avoid encoding build workspace path Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9af3510170
commit
35bef1eae0
|
|
@ -69,6 +69,10 @@ do_configure:prepend() {
|
|||
export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
|
||||
}
|
||||
|
||||
do_configure:append() {
|
||||
sed -i -e 's|${WORKDIR}||g' ${B}/include/autoconf.h
|
||||
}
|
||||
|
||||
do_compile_ptest() {
|
||||
oe_runmake -C ${TESTDIR} buildtest-TESTS
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user