equal
deleted
inserted
replaced
|
1 #!/usr/bin/perl |
|
2 # Copyright (c) 2010 Symbian Foundation Ltd |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of the License "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # |
|
8 # Initial Contributors: |
|
9 # Mike Kinghan, mikek@symbian.org for Symbian Foundation Ltd - initial contribution. |
|
10 |
|
11 # Script to apply fixes to the Linux Raptor config so that:- |
|
12 # - It will invoke regular gcc instead of gcc_mingw |
|
13 # - It will use the regular standard C++ library instead of stlport |
|
14 # - The compiler complies with the c++0x standard. |
|
15 |
|
16 use strict; |
|
17 use File::Spec; |
|
18 use apply_patch_file; |
|
19 use usage; |
|
20 use check_os; |
|
21 |
|
22 require_os_linux(); |
|
23 usage(\@ARGV,"This script makes required fixes to Raptor configuration for Linux"); |
|
24 my $gcc_config_file = File::Spec->catfile("build","sbsv2","raptor","lib","config","gcc.xml"); |
|
25 apply_patch_file($gcc_config_file); |
|
26 exit 0; |
|
27 |