aboutsummaryrefslogtreecommitdiff
path: root/cgcc
diff options
context:
space:
mode:
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-12-17 22:01:16 +0300
committerAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-12-18 20:30:22 +0300
commited3d4c5cf65ff50220312353b340e5f6609a5944 (patch)
tree5ba926f1fa61bc993bfe41c37515eecb90f7080a /cgcc
parentAdd type information to struct instruction. (diff)
downloadsparse-ed3d4c5cf65ff50220312353b340e5f6609a5944.tar.gz
sparse-ed3d4c5cf65ff50220312353b340e5f6609a5944.tar.bz2
sparse-ed3d4c5cf65ff50220312353b340e5f6609a5944.zip
Replace the -specs cgcc option with -target
-spesc is just confusing, as gcc takes the same option for something compeltely different. Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'cgcc')
-rwxr-xr-xcgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgcc b/cgcc
index 89adbed..31c219a 100755
--- a/cgcc
+++ b/cgcc
@@ -25,7 +25,7 @@ foreach (@ARGV) {
$m64 = 1 if /^-m64$/;
$gendeps = 1 if /^-M$/;
- if (/^-specs=(.*)$/) {
+ if (/^-target=(.*)$/) {
$check .= &add_specs ($1);
$has_specs = 1;
next;