Search path environment variables for cross-compilers. See the discussion at . --- gcc-4.7.2/gcc/incpath.c 2012-01-27 00:34:58.000000000 +0100 +++ gcc-4.7.2/gcc/incpath.c 2013-02-12 10:11:27.000000000 +0100 @@ -452,7 +452,7 @@ register_include_chains (cpp_reader *pfi /* CPATH and language-dependent environment variables may add to the include chain. */ - add_env_var_paths ("CPATH", BRACKET); + add_env_var_paths ("CROSS_CPATH", BRACKET); add_env_var_paths (lang_env_vars[idx], SYSTEM); target_c_incpath.extra_pre_includes (sysroot, iprefix, stdinc); --- gcc-4.7.2/gcc/system.h 2012-02-17 00:16:28.000000000 +0100 +++ gcc-4.7.2/gcc/system.h 2013-02-12 10:22:17.000000000 +0100 @@ -1023,4 +1023,6 @@ helper_const_non_const_cast (const char #define DEBUG_VARIABLE #endif +#define LIBRARY_PATH_ENV "CROSS_LIBRARY_PATH" + #endif /* ! GCC_SYSTEM_H */ --- gcc-4.7.2/gcc/tlink.c 2012-02-11 09:50:23.000000000 +0100 +++ gcc-4.7.2/gcc/tlink.c 2013-05-23 22:06:19.000000000 +0200 @@ -461,7 +461,7 @@ recompile_files (void) file *f; putenv (xstrdup ("COMPILER_PATH=")); - putenv (xstrdup ("LIBRARY_PATH=")); + putenv (xstrdup (LIBRARY_PATH_ENV "=")); while ((f = file_pop ()) != NULL) { --- gcc-4.7.3/gcc/gcc.c 2013-03-08 08:25:09.000000000 +0100 +++ gcc-4.7.3/gcc/gcc.c 2013-05-24 08:58:16.000000000 +0200 @@ -3726,7 +3726,7 @@ process_command (unsigned int decoded_op } temp = getenv (LIBRARY_PATH_ENV); - if (temp && *cross_compile == '0') + if (temp) { const char *startp, *endp; char *nstore = (char *) alloca (strlen (temp) + 3); 90de7b60'/>
path: root/gnu/system/shadow.scm
AgeCommit message (Expand)Author
2021-02-03Merge branch 'master' into core-updatesChristopher Baines
2021-01-20services: Do not warn, when duplicate users are eq?....Leo Prikler
2021-01-20shadow: End duplicate warnings with new lines....Leo Prikler
2021-01-13Reapply "system: Assert, that user and group names are unique."...Leo Prikler
2021-01-12Revert "system: Assert, that user and group names are unique."...Jonathan Brielmaier
2021-01-11system: Assert, that user and group names are unique....Leo Prikler
2020-08-25Remove "guile-zlib" extension when unused....Mathieu Othacehe
2020-08-25linux-libre: Support module compression....Mathieu Othacehe
2020-08-16system: Modify GDB skeleton to find debug files for any profile....Maxim Cournoyer
2020-05-08services: Add descriptions....Ludovic Courtès
2020-04-17services: account: Have 'user-processes' depend on 'user-homes'....Ludovic Courtès
2020-04-01system: Move nanorc to XDG_CONFIG_HOME....Efraim Flashner
2020-03-30Revert "system: Move nanorc to XDG_CONFIG_HOME."...Leo Famulari
2020-03-30system: Move nanorc to XDG_CONFIG_HOME....Efraim Flashner
2020-03-19gnu: system: Remove guile-wm from skeleton....Jan Nieuwenhuizen