Project

General

Profile

Bug #3900 » cw_diff.patch

Patch - Prasad Joshi, 2013-08-08 06:25 PM

View differences:

usr/src/tools/cw/cw.c
902 902
				 */
903 903
				break;
904 904
			}
905
			if (strcmp(arg, "-fPIC") == 0 ||
906
			    strcmp(arg, "-fpic") == 0) {
907
				newae(ctx->i_ae, arg);
908
				pic = 1;
909
				break;
910
			}
905 911
			error(arg);
906 912
			break;
907 913
		case 'G':
......
990 996
			error(arg);
991 997
			break;
992 998
		case 'O':
993
			if (arglen == 1) {
994
				newae(ctx->i_ae, "-O");
995
				break;
996
			}
997
			error(arg);
999
			newae(ctx->i_ae, arg);
998 1000
			break;
999 1001
		case 'P':
1000 1002
			/*
(5-5/5)