Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add LDFLAGS in OUTCMD to fix YOCTO QA issues #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamin-aspeed
Copy link

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 <[email protected]>
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.

1 participant