From 963024335a5ad4d219d0feedc4e08149822438ba Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 7 Jan 2001 15:17:07 +0000 Subject: c-lang.c (c_post_options): Call cpp_post_options. * c-lang.c (c_post_options): Call cpp_post_options. * cppmain.c (main): Similarly. * fix-header.c (read_scan_file): Similarly. * cp/decl2.c (cxx_post_options): Similarly. * objc/objc-act.c (objc_post_options): Similarly. * cppinit.c (cpp_start_read): Move option consistency checks to cpp_post_options. Don't call init_dependency_output. If needed, add default target and main file dependency. (OPT_MD, OPT_MMD): Remove. (OPT_MF): New. (cpp_handle_option): Update for OPT_* changes. (cpp_post_options): New. (init_dependency_output): Command line -MF overrides environment variables. Don't set default target etc. Suppress output if dependencies are going to stdout. (print_help): Update. * cpplib.h (cpp_post_options): New. * gcc.c (cpp_options): Update for -MD, -MMD, -MF. From-SVN: r38777 --- gcc/objc/objc-act.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/objc') diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 06b0e8c..e2daab1 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -634,6 +634,7 @@ struct lang_hooks lang_hooks = {objc_post_options}; static void objc_post_options () { + cpp_post_options (parse_in); } /* Some platforms pass small structures through registers versus through -- cgit v1.1