Skip to content

add LDFLAGS in OUTCMD to fix YOCTO QA issues#66

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

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

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 <jamin_lin@aspeedtech.com>
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