| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | #!@BSHELL@ - | | 1 | #!@BSHELL@ - |
2 | # | | 2 | # |
3 | # $NetBSD: host-mkdep.in,v 1.21 2012/08/26 22:37:19 jmmv Exp $ | | 3 | # $NetBSD: host-mkdep.in,v 1.22 2012/12/09 23:42:16 christos Exp $ |
4 | # | | 4 | # |
5 | # Copyright (c) 1991, 1993 | | 5 | # Copyright (c) 1991, 1993 |
6 | # The Regents of the University of California. All rights reserved. | | 6 | # The Regents of the University of California. All rights reserved. |
7 | # | | 7 | # |
8 | # Redistribution and use in source and binary forms, with or without | | 8 | # Redistribution and use in source and binary forms, with or without |
9 | # modification, are permitted provided that the following conditions | | 9 | # modification, are permitted provided that the following conditions |
10 | # are met: | | 10 | # are met: |
11 | # 1. Redistributions of source code must retain the above copyright | | 11 | # 1. Redistributions of source code must retain the above copyright |
12 | # notice, this list of conditions and the following disclaimer. | | 12 | # notice, this list of conditions and the following disclaimer. |
13 | # 2. Redistributions in binary form must reproduce the above copyright | | 13 | # 2. Redistributions in binary form must reproduce the above copyright |
14 | # notice, this list of conditions and the following disclaimer in the | | 14 | # notice, this list of conditions and the following disclaimer in the |
15 | # documentation and/or other materials provided with the distribution. | | 15 | # documentation and/or other materials provided with the distribution. |
16 | # 3. All advertising materials mentioning features or use of this software | | 16 | # 3. All advertising materials mentioning features or use of this software |
| @@ -167,26 +167,28 @@ else | | | @@ -167,26 +167,28 @@ else |
167 | shift | | 167 | shift |
168 | cppargs=${cppargs%x} | | 168 | cppargs=${cppargs%x} |
169 | ;; | | 169 | ;; |
170 | | | 170 | |
171 | -nostdinc*) # This is a gcc/g++ ism; ignore if not gcc/g++ | | 171 | -nostdinc*) # This is a gcc/g++ ism; ignore if not gcc/g++ |
172 | case "@CFLAGS@" in | | 172 | case "@CFLAGS@" in |
173 | *-O2*) # Autoconf puts -O2 when gcc only | | 173 | *-O2*) # Autoconf puts -O2 when gcc only |
174 | set -- "$@" "$1" | | 174 | set -- "$@" "$1" |
175 | ;; | | 175 | ;; |
176 | esac | | 176 | esac |
177 | shift | | 177 | shift |
178 | cppargs=${cppargs%x} | | 178 | cppargs=${cppargs%x} |
179 | ;; | | 179 | ;; |
| | | 180 | --sysroot*) |
| | | 181 | ;; |
180 | | | 182 | |
181 | -*) | | 183 | -*) |
182 | echo "$0: Unknown option: $1" 1>&2 # all other -options | | 184 | echo "$0: Unknown option: $1" 1>&2 # all other -options |
183 | exit 1 | | 185 | exit 1 |
184 | ;; | | 186 | ;; |
185 | | | 187 | |
186 | *) | | 188 | *) |
187 | SRCS="$SRCS $1" # source file | | 189 | SRCS="$SRCS $1" # source file |
188 | shift | | 190 | shift |
189 | cppargs=${cppargs%x} | | 191 | cppargs=${cppargs%x} |
190 | ;; | | 192 | ;; |
191 | esac | | 193 | esac |
192 | done | | 194 | done |