aboutsummaryrefslogtreecommitdiffstats
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
parent8f0331093ca506931f39a6cfbc3ae288a2e14b98 (diff)
downloadsparse-ed3d4c5cf65ff50220312353b340e5f6609a5944.tar.gz
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>
-rwxr-xr-xcgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgcc b/cgcc
index 89adbed5..31c219a3 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;