aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-02 11:17:53 -0500
committerJack Lloyd <[email protected]>2018-02-02 11:17:53 -0500
commitdeeca72a3e5f875c87601e0da673288a798c55d5 (patch)
treeb4615b32149e0f104264d970010b94a45b3bbf85
parentf48a22b74229f2ccf9926b952e77f5dfb6a8ffb4 (diff)
Use -m32 for x86-32 builds with GCC
This used to not work but is fine with GCC 4.8 which is the minimum version we support. Fixes #1438
-rw-r--r--src/build-data/cc/gcc.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 8c8620552..a67b878d9 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -82,6 +82,7 @@ s390x -> "-m64"
sparc32 -> "-m32 -mno-app-regs"
sparc64 -> "-m64 -mno-app-regs"
ppc64 -> "-m64"
+x86_32 -> "-m32"
x86_64 -> "-m64"
netbsd -> "-D_NETBSD_SOURCE"