diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-01-13 23:39:32 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-01-13 23:39:32 +0000 |
commit | 72b37a528006b75ea1b91688e08c8403a5d706b1 (patch) | |
tree | 81660e84327545a73583e707ec9e4ceb7fcb466f /gnu | |
parent | f4874d661bb70a06dea6fd1f1287efec0a96d9fa (diff) |
... and kill library == 0 optimization test that is now bogus with libsupcxx...
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/cp/g++spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/cp/g++spec.c b/gnu/usr.bin/gcc/gcc/cp/g++spec.c index ce4c68dc092..c9093d9c89a 100644 --- a/gnu/usr.bin/gcc/gcc/cp/g++spec.c +++ b/gnu/usr.bin/gcc/gcc/cp/g++spec.c @@ -138,7 +138,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) if (argv[i][0] == '-') { - if (library != 0 && (strcmp (argv[i], "-nostdlib") == 0 + if ((strcmp (argv[i], "-nostdlib") == 0 || strcmp (argv[i], "-nodefaultlibs") == 0)) { library = 0; |