Skip to content
Snippets Groups Projects
Commit 4d25c2bc authored by Katerina Barone-Adesi's avatar Katerina Barone-Adesi Committed by Luca Barbato
Browse files

build: Support building using clang-usan and disable-optimization

Clang Undefined Behaviour Sanitizer seems to make non-constant constant
expressions, making the compilation fail when they are used within
inline assembly if no optimization is requested.

Add -O1 to the cflags to hide the misbehaviour.

Bug-Id: 683
parent 7c377f0e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment