diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-12 16:08:38 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-13 17:28:11 +0000 |
commit | 15cc69ef3b20458889901c0c0ac02c5211a21f48 (patch) | |
tree | 64871c0fb3380dde0e759144e85bc155891ecc70 /odk | |
parent | 0dc5bbc155311d6d687e4f29620c6652b988dd0d (diff) |
tdf#91966: In SDK, set CPPU_ENV=mscx for 64-bit Windows
Change-Id: Ib93b2db40f43f98d8369cb91ca35692cc92f023b
(cherry picked from commit 3aaa820446f1ad3d3b0ddc557238b6fb3496dd54)
Reviewed-on: https://gerrit.libreoffice.org/28871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r-- | odk/settings/settings.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk index b5bee39e0a56..5dd54f6f649c 100644 --- a/odk/settings/settings.mk +++ b/odk/settings/settings.mk @@ -113,8 +113,14 @@ SDK_JAVA_INCLUDES = -I"$(OO_SDK_JAVA_HOME)/include" -I"$(OO_SDK_JAVA_HOME)/inclu # define for used compiler necessary for UNO # -DCPPU_ENV=msci -- windows msvc 4.x - 7.x -CC_DEFINES_JNI=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci -CC_DEFINES=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci +ifeq "$(PROCTYPE)" "x86_64" +CPPU_ENV=mscx +else +CPPU_ENV=msci +endif + +CC_DEFINES_JNI=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=$(CPPU_ENV) +CC_DEFINES=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=$(CPPU_ENV) CC_OUTPUT_SWITCH=-Fo LIBO_SDK_LDFLAGS_STDLIBS = $(LIBO_SDK_DETAIL_LDFLAGS_MSVCRT) kernel32.lib |