Skip to content

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