diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-06 03:45:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-06 03:45:20 +0000 |
commit | c35679b45f4e54246d650ca8f361c795fd748a59 (patch) | |
tree | 9d6616c6a59fb7d8fea529497357564d428c587f | |
parent | c736d56562af898f3a7bc1c202bd40dd1b952bf6 (diff) | |
download | external_llvm-c35679b45f4e54246d650ca8f361c795fd748a59.zip external_llvm-c35679b45f4e54246d650ca8f361c795fd748a59.tar.gz external_llvm-c35679b45f4e54246d650ca8f361c795fd748a59.tar.bz2 |
Export a new ARCH variable indicating what platform is being compiled
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.Linux | 3 | ||||
-rw-r--r-- | Makefile.SunOS | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.Linux b/Makefile.Linux index 4d411f0..ca3c16f 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -5,6 +5,9 @@ # #===-----------------------------------------------------------------------====# +# Set the architecture so that x86 platform dependant code is compmiled +ARCH := x86 + # MakeSharedObjectOption - This option is passed to the linker by # Makefile.common when compiling a shared object. # diff --git a/Makefile.SunOS b/Makefile.SunOS index e802173..e947363 100644 --- a/Makefile.SunOS +++ b/Makefile.SunOS @@ -5,6 +5,9 @@ # #===-----------------------------------------------------------------------====# +# Set the architecture so that Sparc platform dependant code is compmiled +ARCH := Sparc + # MakeSharedObjectOption - This option is passed to the linker by # Makefile.common when compiling a shared object. # |