diff options
Diffstat (limited to 'tools/apbuild/apgcc')
-rwxr-xr-x | tools/apbuild/apgcc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/apbuild/apgcc b/tools/apbuild/apgcc index 2aba0071..8b81686c 100755 --- a/tools/apbuild/apgcc +++ b/tools/apbuild/apgcc @@ -19,7 +19,6 @@ use Apbuild::Utils; # Don't forget to bump the version in Makefile too. our $APBUILD_VERSION = "2.0.9"; - ######## Initialization ######## # In C mode: @@ -79,6 +78,10 @@ if (!defined $appath) { $appath = $FindBin::Bin; } } +my $arch=`uname -m`; +chomp $arch; +`cp $appath/apsymbols.h.$arch $appath/apsymbols.h`; + # Special constants our @linking = ('-Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib,--rpath,${ORIGIN}/../lib/autopackage'); |