Commit 7376d710 by Francois-Xavier Coudert Committed by François-Xavier Coudert

re PR fortran/30446 ([4.1 only] -J option doesn't add path to search list)

	PR fortran/30446
	* options.c (gfc_handle_module_path_options): Path used in -J
	option is now added to the module search path.

From-SVN: r121000
parent bbba68dd
2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/30446
* options.c (gfc_handle_module_path_options): Path used in -J
option is now added to the module search path.
2007-01-20 Richard Guenther <rguenther@suse.de>
PR fortran/30223
......
......@@ -345,6 +345,8 @@ gfc_handle_module_path_options (const char *arg)
gfc_option.module_dir = (char *) gfc_getmem (strlen (arg) + 2);
strcpy (gfc_option.module_dir, arg);
strcat (gfc_option.module_dir, "/");
gfc_add_include_path (gfc_option.module_dir, true);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment