boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

set-environment-stub.before (324B)


      1     char * path;
      2 
      3     path = getenv("C_INCLUDE_PATH");
      4     if(path != NULL) {
      5         tcc_add_include_path(s, path);
      6     }
      7     path = getenv("CPATH");
      8     if(path != NULL) {
      9         tcc_add_include_path(s, path);
     10     }
     11     path = getenv("LIBRARY_PATH");
     12     if(path != NULL) {
     13         tcc_add_library_path(s, path);
     14     }
     15 }