From 10779648f8eac9c84464d6eaa76b54a5a9ef963a Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor <ian@airs.com>
Date: Wed, 6 May 1998 19:32:31 +0000
Subject: [PATCH] Wed May  6 15:26:34 1998  Klaus Kaempf  <kkaempf@progis.de>

	* makefile.vms: Run dec c with /nodebug.  Pass CC value when
	calling make.
---
 gas/ChangeLog    | 3 +++
 gas/makefile.vms | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index b671dc23088..a8f50a90685 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
 Wed May  6 15:26:34 1998  Klaus Kaempf  <kkaempf@progis.de>
 
+	* makefile.vms: Run dec c with /nodebug.  Pass CC value when
+	calling make.
+
         * makefile.vms (OBJS): Add ehopt.obj
 
 Wed May  6 15:11:12 1998  Klaus Kaempf  <kkaempf@progis.de>
diff --git a/gas/makefile.vms b/gas/makefile.vms
index 9ce7e734c8e..4075cc6e0f3 100644
--- a/gas/makefile.vms
+++ b/gas/makefile.vms
@@ -13,7 +13,7 @@ else
 DEFS=/define=("table_size_of_flonum_powers_of_ten"="tabsiz_flonum_powers_of_ten",\
 "_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\
 "_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec","const=")
-CFLAGS=/noopt/debug/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)\
+CFLAGS=/noopt/nodebug/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)\
 /warnings=disable=(missingreturn,implicitfunc,ptrmismatch,undefescap,longextern,duptypespec)
 LFLAGS=
 LIBS=,sys$$library:vaxcrtl.olb/lib
@@ -59,7 +59,7 @@ targ-cpu.obj: targ-cpu.c targ-cpu.h [.config]atof-vax.c
 
 [-.bfd]bfd.h:
 	$(CD) [-.bfd]
-	gmake -f makefile.vms
+	gmake -f makefile.vms "CC=$(CC)"
 	$(CD) [-.gas]
 
 clean: