mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-28 11:11:37 +00:00
tcsh: upgrade 6.24.12 -> 6.24.16
Changes across the 6.24.13 - 6.24.16 maintenance releases:
- Handle redirections in bracketed expressions, e.g. if { foo > /dev/null }.
- Recognize history searches in history expansion (!?foo<tab>).
- Fix !^:h and !^:t failing when no / is found.
- Add cross-build support for the gethost helper; add support for $?<.
- Fix issues with S-JIS handling; improve nls/Makefile.in compatibility hacks.
Makefile changed the gethost host-helper rule to use
CPPFLAGS_FOR_BUILD / CFLAGS_FOR_BUILD, which lack the -I. -I$(srcdir) include
paths, so the configure-generated config.h was invisible and do_compile failed.
Set EXTRA_OEMAKE CC_FOR_GETHOST and {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD from
the BUILD_* vars and simplified do_compile:prepend to 'oe_runmake gethost'.
The *_FOR_BUILD vars are only consumed by the gethost rule, so the target
build is unaffected.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
+9
-3
@@ -13,13 +13,19 @@ SRC_URI = " \
|
||||
file://0001-Enable-system-malloc-on-all-linux.patch \
|
||||
file://0002-Add-debian-csh-scripts.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "e3270ce9667fd5bd2a046687659fcf5fd6a6781326f806ebd724f1e1c9cd4185"
|
||||
SRC_URI[sha256sum] = "4208cf4630fb64d91d81987f854f9570a5a0e8a001a92827def37d0ed8f37364"
|
||||
|
||||
EXTRA_OEMAKE += "CC_FOR_GETHOST='${BUILD_CC}'"
|
||||
# tcsh 6.24.16 changed the "gethost" build-host helper rule to use
|
||||
# CPPFLAGS_FOR_BUILD/CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD instead of the target
|
||||
# CPPFLAGS/CFLAGS/LDFLAGS it used through 6.24.12. Those *_FOR_BUILD flags do
|
||||
# not carry the "-I. -I$(srcdir)" include paths the target CPPFLAGS had, so the
|
||||
# generated config.h (in the build dir) is not found. Supply the build-host
|
||||
# flags, including the include dirs, so gethost compiles with the native gcc.
|
||||
EXTRA_OEMAKE += "CC_FOR_GETHOST='${BUILD_CC}' CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' CPPFLAGS_FOR_BUILD='-I. -I${S} ${BUILD_CPPFLAGS}' LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}'"
|
||||
inherit autotools
|
||||
|
||||
do_compile:prepend() {
|
||||
oe_runmake CC_FOR_GETHOST='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}' LDFLAGS='${BUILD_LDFLAGS}' gethost
|
||||
oe_runmake gethost
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
Reference in New Issue
Block a user