From c35679b45f4e54246d650ca8f361c795fd748a59 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 Dec 2002 03:45:20 +0000 Subject: [PATCH] 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 --- Makefile.Linux | 3 +++ Makefile.SunOS | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Makefile.Linux b/Makefile.Linux index 4d411f081e5..ca3c16fc1a3 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 e802173f96a..e9473637c7e 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. #