summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2023-09-19 15:39:17 +0800
committerKhem Raj <raj.khem@gmail.com>2023-09-20 15:34:03 -0700
commit7ede9cd678ecbe6e4cd15eedb6bf53fd93f2305c (patch)
tree79f1c022af69908da694a4df69352185281326c2 /meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
parent62ea808cb833bc823b392ef07c9e883810e104d9 (diff)
downloadmeta-openembedded-7ede9cd678ecbe6e4cd15eedb6bf53fd93f2305c.tar.gz
vlock: Use EXTRA_CFLAGS
The CFLAGS is hardcoded as DEFAULT_CFLAGS or DEBUG_CFLAGS in configure script, so use EXTRA_CFLAGS to make sure -fdebug-prefix-map option passed to compiler and also need to put EXTRA_CFLAGS configure option after debug option to avoid the CFLAGS overrided by DEBUG_CFLAGS when debug enabled to fix the below warning: WARNING: vlock-2.2.3-r0 do_package_qa: QA Issue: File /usr/lib64/vlock/modules/.debug/new.so in package vlock-dbg contains reference to TMPDIR File /usr/lib64/vlock/modules/.debug/ttyblank.so in package vlock-dbg contains reference to TMPDIR File /usr/lib64/vlock/modules/.debug/vesablank.so in package vlock-dbg contains reference to TMPDIR File /usr/lib64/vlock/modules/.debug/all.so in package vlock-dbg contains reference to TMPDIR File /usr/lib64/vlock/modules/.debug/nosysrq.so in package vlock-dbg contains reference to TMPDIR File /usr/sbin/.debug/vlock-main in package vlock-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/vlock/vlock_2.2.3.bb')
-rw-r--r--meta-oe/recipes-extended/vlock/vlock_2.2.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb b/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
index a37404193..455bda1d7 100644
--- a/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
+++ b/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
@@ -37,13 +37,13 @@ do_configure () {
37 VLOCK_GROUP=root \ 37 VLOCK_GROUP=root \
38 ROOT_GROUP=root \ 38 ROOT_GROUP=root \
39 CC="${CC}" \ 39 CC="${CC}" \
40 CFLAGS="${CFLAGS}" \
41 LDFLAGS="${LDFLAGS}" \ 40 LDFLAGS="${LDFLAGS}" \
42 --prefix=${prefix} \ 41 --prefix=${prefix} \
43 --libdir=${libdir} \ 42 --libdir=${libdir} \
44 --mandir=${mandir} \ 43 --mandir=${mandir} \
45 --with-modules="all.so new.so nosysrq.so ttyblank.so vesablank.so" \ 44 --with-modules="all.so new.so nosysrq.so ttyblank.so vesablank.so" \
46 --disable-root-password --enable-debug --disable-fail-count \ 45 --disable-root-password --enable-debug --disable-fail-count \
46 EXTRA_CFLAGS="${CFLAGS}" \
47 ${PACKAGECONFIG_CONFARGS} 47 ${PACKAGECONFIG_CONFARGS}
48} 48}
49 49