summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-03-18 04:51:24 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-03-18 04:51:24 +0000
commit68e9f4d100dffb1a03a06b996fce196d3967780b (patch)
tree3a19db938060efcb5a09ae69dc2ab4c998772eb5 /gnu
parent3c792449353c33b183d6f5b10192d07f15e94d42 (diff)
make -R /path/to/lib work the same as -R/path/to/lib
Thanks to <Marc.Espie@liafa.jussieu.fr> for pointing this out.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/config/openbsd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/config/openbsd.h b/gnu/usr.bin/gcc/config/openbsd.h
index 2bfad303d7f..310cd56213a 100644
--- a/gnu/usr.bin/gcc/config/openbsd.h
+++ b/gnu/usr.bin/gcc/config/openbsd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: openbsd.h,v 1.7 1998/03/11 23:49:19 millert Exp $ */
+/* $OpenBSD: openbsd.h,v 1.8 1998/03/18 04:51:23 marc Exp $ */
/* OPENBSD_NATIVE is defined when gcc is integrated into the OpenBSD
source tree so it can be configured appropriately when using the
@@ -61,6 +61,11 @@
#define LINK_SPEC \
"%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
+/* This defines which switch letters take arguments. */
+#undef SWITCH_TAKES_ARG
+#define SWITCH_TAKES_ARG(CHAR) \
+ (DEFAULT_SWITCH_TAKES_ARG(CHAR) \
+ || (CHAR) == 'R')
/* We have atexit(3). */