aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-06 03:45:20 +0000
committerChris Lattner <sabre@nondot.org>2002-12-06 03:45:20 +0000
commitc35679b45f4e54246d650ca8f361c795fd748a59 (patch)
tree9d6616c6a59fb7d8fea529497357564d428c587f
parentc736d56562af898f3a7bc1c202bd40dd1b952bf6 (diff)
downloadexternal_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.Linux3
-rw-r--r--Makefile.SunOS3
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.
#