Skip to content

add LDFLAGS in OUTCMD to fix YOCTO QA issues#66

Open
jamin-aspeed wants to merge 1 commit into
eembc:mainfrom
jamin-aspeed:ldflags
Open

add LDFLAGS in OUTCMD to fix YOCTO QA issues#66
jamin-aspeed wants to merge 1 commit into
eembc:mainfrom
jamin-aspeed:ldflags

Conversation

@jamin-aspeed
Copy link
Copy Markdown

Users can set "LDFLAGS" of Yocto build environment in LFLAGS_END variable to fix "ldflags" QA error. However, the source files use "LFLAGS_END" variable to show the compiler flag information.

Compiler version : GCC13.2.0
Compiler flags   : -O2 -DMULTITHREAD=2 -DUSE_FORK -pthread  -lrt

LDFLAGS of Yocto build environment includes the build path and it causes "buildpath" QA warning/error. To fix all QA errors/warnings, adds LDFLAGS in the OUTCMD.

Users can set "LDFLAGS" of Yocto build environment in LFLAGS_END variable to fix "ldflags" QA error.
However, the source files use "LFLAGS_END" variable to show the compiler flag information.
```
Compiler version : GCC13.2.0
Compiler flags   : -O2 -DMULTITHREAD=2 -DUSE_FORK -pthread  -lrt
```

LDFLAGS of Yocto build environment includes the build path and it causes "buildpath"
QA warning/error. To fix all QA errors/warnings, adds LDFLAGS in the OUTCMD.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
@joseph-yiu
Copy link
Copy Markdown
Contributor

Hi @jamin-aspeed ,
We are looking into preparing a maintenance release. Could you let us know if this pull request is still valid? (Just in case anything has changed in YOCTO that might affect this).
Thanks and regards,
Joseph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants