summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2015-11-25 21:52:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-26 11:19:33 +0000
commit7c2edb3a67cf2e156f2134dc8f56fb6aac3045e2 (patch)
tree01122d5f762223da09babc8e2f240532c6518280 /desktop
parentbb1b341c94837915f86eafa2360d0af0cd52efe3 (diff)
i126615 - Allow build on FreeBSD Mac PowerPCG5
These appear to have been missed from earlier effort Brave attempt by: Curtis Hamilton (cherry picked from commit abb9cd92ab4614d606df8ced0d57916dcb04289c) Change-Id: Ia778e090c46220d83388ea1a9485b9009787f191
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_platform.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx
index dd8648e56d6c..ece618284fb3 100644
--- a/desktop/source/deployment/misc/dp_platform.cxx
+++ b/desktop/source/deployment/misc/dp_platform.cxx
@@ -55,6 +55,7 @@
#define PLATFORM_SOLARIS_SPARC "solaris_sparc"
#define PLATFORM_SOLARIS_SPARC64 "solaris_sparc64"
#define PLATFORM_SOLARIS_X86 "solaris_x86"
+#define PLATFORM_FREEBSD_POWERPC "freebsd_powerpc"
#define PLATFORM_FREEBSD_X86 "freebsd_x86"
#define PLATFORM_FREEBSD_X86_64 "freebsd_x86_64"
#define PLATFORM_NETBSD_X86 "netbsd_x86"
@@ -171,6 +172,8 @@ namespace
ret = checkOSandCPU("FreeBSD", "x86");
else if (token == PLATFORM_FREEBSD_X86_64)
ret = checkOSandCPU("FreeBSD", "X86_64");
+ else if (token == PLATFORM_FREEBSD_POWERPC)
+ ret = checkOSandCPU("FreeBSD", "PowerPC");
else if (token == PLATFORM_NETBSD_X86)
ret = checkOSandCPU("NetBSD", "x86");
else if (token == PLATFORM_NETBSD_X86_64)