summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAnders Magnusson <ragge@cvs.openbsd.org>2007-12-09 18:50:02 +0000
committerAnders Magnusson <ragge@cvs.openbsd.org>2007-12-09 18:50:02 +0000
commit359f2df2d2dbba1aeb7486def7dcceaf02552261 (patch)
tree9ef2cd688234445b3341d440ef891acbd5f9e639 /usr.bin
parentaa8f37cfb2c1fe0b11d72ed67618dec1124a4f54 (diff)
Update from master repo:
- Understand -m as flag.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pcc/ccom/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/pcc/ccom/main.c b/usr.bin/pcc/ccom/main.c
index d1a5544a27f..cd3604cc12c 100644
--- a/usr.bin/pcc/ccom/main.c
+++ b/usr.bin/pcc/ccom/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.3 2007/11/16 09:00:12 otto Exp $ */
+/* $OpenBSD: main.c,v 1.4 2007/12/09 18:50:01 ragge Exp $ */
/*
* Copyright (c) 2002 Anders Magnusson. All rights reserved.
@@ -112,7 +112,7 @@ main(int argc, char *argv[])
prgname = argv[0];
- while ((ch = getopt(argc, argv, "VlwX:Z:W:sOT:gx:kv")) != -1)
+ while ((ch = getopt(argc, argv, "VlwX:Z:W:sOT:gx:kvm:")) != -1)
switch (ch) {
#if !defined(MULTIPASS) || defined(PASS1)
case 'X':
@@ -194,6 +194,10 @@ main(int argc, char *argv[])
++lflag;
break;
+ case 'm': /* target-specific */
+ mflags(optarg);
+ break;
+
case 'g': /* Debugging */
gflag = 1;
break;