summaryrefslogtreecommitdiff
path: root/opcodes/makefile.vms
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-05-25 12:43:47 +0000
committerTristan Gingold <gingold@adacore.com>2009-05-25 12:43:47 +0000
commitd8516c7fe64c21f98c81ca96b582616e1bf6e054 (patch)
tree73358f3c88a7985f41afa39e0f606063bd03d1f1 /opcodes/makefile.vms
parent2f6bfc6a33c2f138f438abec0993e0c6eea19c71 (diff)
downloadgdb-d8516c7fe64c21f98c81ca96b582616e1bf6e054.tar.gz
2009-05-25 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OPT): New variable. (CFLAGS): Update compilation flags.
Diffstat (limited to 'opcodes/makefile.vms')
-rw-r--r--opcodes/makefile.vms5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/makefile.vms b/opcodes/makefile.vms
index 6cd8ec2c47c..41599d9fd84 100644
--- a/opcodes/makefile.vms
+++ b/opcodes/makefile.vms
@@ -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)