Export a new ARCH variable indicating what platform is being compiled
authorChris Lattner <sabre@nondot.org>
Fri, 6 Dec 2002 03:45:20 +0000 (03:45 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 Dec 2002 03:45:20 +0000 (03:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4936 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.Linux
Makefile.SunOS

index 4d411f081e5ac2d43c9f5ffbd75fdfa05c9975d0..ca3c16fc1a3c7281e0f59ec7889cc00897c9777c 100644 (file)
@@ -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.
 #
index e802173f96a75b8212da04f1525f70f5550763ee..e9473637c7e699c5b32f21ca067d2ed2f7fb584f 100644 (file)
@@ -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.
 #