Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913701

Summary: dev-libs/angelscript Does Not Completely Respect "-stdlib=libc++"
Product: Gentoo Linux Reporter: Neko-san <gentoo.qxrin>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge Info and Emerge Build Log

Description Neko-san 2023-09-06 01:44:16 UTC
Created attachment 869894 [details]
Emerge Info and Emerge Build Log

While, for most of the build there are no indications of this, towards the end there are two occurrences of warnings for using the LLVM libc++ standard library being ignored:
"clang-16: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-06 10:10:56 UTC
This is fine, there's no linkage with libraries when compiling raw assembly.

But you should really use flags on clang-common to control this anyway instead of passing in *FLAGS.
Comment 2 Neko-san 2023-09-06 22:47:56 UTC
I didn't even realize that clang-common even had a use flag for that; I'll be sure to use that in the future