-o0 in CCFLAGS breaking scons debug build on linux #343
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scons debug=trueon Linux isn't working because it adds-g -o0to the compiler flags.-o0should be interpreted by g++ and clang as disabling optimization but it's actually being processed as setting the output file to 0. So every file is getting compiled tocboe/0and of course that's no good.1bc7524ec2/SConstruct (L50)Changing the flag here to
-O0(capital O) fixes it for me.