mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Several fixes for the compiler (#2422)
* Update .gitignore for nix * Fix build failure when compiling with -Werror=maybe-uninitialized * Fix test failure formatting * Add separateDebugInfo to c3c Nix build
This commit is contained in:
@@ -26,7 +26,10 @@ in llvmPackages.stdenv.mkDerivation (_:
|
||||
removeSuffix "\"" ( removePrefix "\"" ( elemAt ( splitString " " foundLine ) 2 ) );
|
||||
|
||||
src = ../.;
|
||||
|
||||
|
||||
# See https://github.com/symphorien/nixseparatedebuginfod for usage
|
||||
separateDebugInfo = true;
|
||||
|
||||
# Here we substitute GIT_HASH which is not set for cmake in nix builds.
|
||||
# Similar situation is with __DATE__ and __TIME__ macros, which are
|
||||
# set to "Jan 01 1980 00:00:00" by default.
|
||||
|
||||
Reference in New Issue
Block a user