Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e8428ba
)
crossplatform.mk: Detecting 32 bit Windows cross-compile to build host bootstrap...
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 6 Mar 2013 09:18:44 +0000
(
04:18
-0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 6 Mar 2013 09:18:44 +0000
(
04:18
-0500)
crossplatform.mk
patch
|
blob
|
history
diff --git
a/crossplatform.mk
b/crossplatform.mk
index
bc9abed
..
e15210f
100644
(file)
--- a/
crossplatform.mk
+++ b/
crossplatform.mk
@@
-81,6
+81,16
@@
endif
endif
endif
+ifeq "$(GCC_PREFIX)" "i586-mingw32msvc-"
+export ARCH
+ARCH := x32
+endif
+
+ifeq "$(GCC_PREFIX)" "i686-w64-mingw32-"
+export ARCH
+ARCH := x32
+endif
+
# Accept different things for ARCH but standardize on x32/x64
# This will be used for object directories
ifdef ARCH