2009-05-25 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 25 May 2009 12:43:48 +0000 (12:43 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 25 May 2009 12:43:48 +0000 (12:43 +0000)
* makefile.vms (OPT): New variable.
(CFLAGS): Update compilation flags.

opcodes/ChangeLog
opcodes/makefile.vms

index d0b5d8e90bb89e833cf79e2bac869bb2c83044bf..a91434937a44949c703df58f8478fe6e7c701553 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-25  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms (OPT): New variable.
+       (CFLAGS): Update compilation flags.
+
 2009-05-22  DJ Delorie  <dj@redhat.com>
 
        * mep-asm.c: Regenerate.
index 6cd8ec2c47ce534883cd85ab8fa2e3f02b44c379..41599d9fd8484c768d3557532086c52a1b8eb5af 100644 (file)
@@ -21,8 +21,9 @@ DEFS=/define=($(FORMAT))
 CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
 else
 DEFS=/define=($(FORMAT))
-CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
-/name=(as_is,shortened)/warnings=disable=(missingreturn,longextern)
+OPT=/noopt/debug
+CFLAGS=$(OPT)/include=([],[-.include],[-.bfd])$(DEFS)\
+ /name=(as_is,shortened)
 endif
 
 libopcodes.olb: sysdep.h $(OBJS)