No need for BITNESS_OVERRIDE in makefilery as CPU etc work fine
Change-Id: I59f4d5ad275af62c997723908754112c062a31be
This commit is contained in:
parent
0919d45d51
commit
4671e25d99
@ -47,7 +47,7 @@ $(eval $(call gb_Module_add_targets,avmedia,\
|
||||
endif
|
||||
|
||||
ifeq ($(GUIBASE),aqua)
|
||||
ifneq ($(BITNESS_OVERRIDE),64)
|
||||
ifneq ($(CPUNAME),X86_64)
|
||||
$(eval $(call gb_Module_add_targets,avmedia,\
|
||||
Library_avmediaQuickTime \
|
||||
))
|
||||
|
@ -56,7 +56,6 @@ export CDR_LIBS=@CDR_LIBS@
|
||||
export CDR_TARBALL=@CDR_TARBALL@
|
||||
export CHECK_PARALLELISM=@CHECK_PARALLELISM@
|
||||
export CLASSPATH=@CLASSPATH@
|
||||
export BITNESS_OVERRIDE=@BITNESS_OVERRIDE@
|
||||
export CLUCENE_CFLAGS=@CLUCENE_CFLAGS@
|
||||
export CLUCENE_LIBS=@CLUCENE_LIBS@
|
||||
export CLUCENE_TARBALL=@CLUCENE_TARBALL@
|
||||
|
@ -2865,8 +2865,6 @@ AC_SUBST(ENABLE_DIRECTX)
|
||||
AC_SUBST(DISABLE_ACTIVEX)
|
||||
AC_SUBST(DISABLE_ATL)
|
||||
|
||||
AC_SUBST(BITNESS_OVERRIDE)
|
||||
|
||||
if test "$cross_compiling" = "yes"; then
|
||||
CROSS_COMPILING=YES
|
||||
SCPDEFS="$SCPDEFS -DCROSS_COMPILING"
|
||||
|
@ -328,7 +328,7 @@ my_components += \
|
||||
.END
|
||||
|
||||
.IF "$(GUIBASE)" == "aqua"
|
||||
.IF "$(BITNESS_OVERRIDE)" != "64"
|
||||
.IF "$(CPUNAME)" != "X86_64"
|
||||
my_components += \
|
||||
component/avmedia/source/quicktime/avmediaQuickTime
|
||||
.ENDIF
|
||||
|
@ -166,9 +166,6 @@ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
||||
$(if $(filter-out YES,$(WITH_MYSPELL_DICTS)),\
|
||||
-DWITHOUT_MYSPELL_DICTS \
|
||||
) \
|
||||
$(if $(BITNESS_OVERRIDE),\
|
||||
-DBITNESS_OVERRIDE=$(BITNESS_OVERRIDE) \
|
||||
) \
|
||||
))
|
||||
|
||||
ifeq ($(DISABLE_PYTHON),TRUE)
|
||||
|
@ -528,7 +528,7 @@ File gid_File_Lib_MacOSXSpell
|
||||
Dir = SCP2_OOO_BIN_DIR;
|
||||
End
|
||||
|
||||
#if !defined(BITNESS_OVERRIDE) || BITNESS_OVERRIDE==32
|
||||
#ifndef X86_64
|
||||
File gid_File_Lib_avmediaQuickTime
|
||||
LIB_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
JAVAFLAGSDEBUG=-g
|
||||
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
ASM=ml
|
||||
AFLAGS=/c /Cp /coff /safeseh
|
||||
.ELSE
|
||||
@ -89,7 +89,7 @@ CFLAGS+=-GS
|
||||
|
||||
CFLAGS+=-c -nologo -Gs $(NOLOGO)
|
||||
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
CDEFS+= -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_SCL_SECURE_NO_WARNINGS
|
||||
.ELSE
|
||||
CDEFS+= -D_AMD64_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_SCL_SECURE_NO_WARNINGS
|
||||
@ -119,7 +119,7 @@ CFLAGS+= -Z7
|
||||
CFLAGSEXCEPTIONS=-EHa
|
||||
CFLAGS_NO_EXCEPTIONS=
|
||||
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
# enable boost support for __cdecl (SAL_CALL) C++-UNO interface methods
|
||||
CDEFS+=-DBOOST_MEM_FN_ENABLE_CDECL
|
||||
.ENDIF
|
||||
@ -204,7 +204,7 @@ _VC_MANIFEST_BASENAME=__VC80
|
||||
_VC_MANIFEST_BASENAME=__VC90
|
||||
.ENDIF
|
||||
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
LINK=link /MACHINE:IX86 /IGNORE:4102 /IGNORE:4197
|
||||
.ELSE
|
||||
LINK=link /MACHINE:X64
|
||||
@ -217,7 +217,7 @@ LINKFLAGS=/MAP /OPT:NOREF
|
||||
.ENDIF
|
||||
|
||||
# excetion handling protection
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
LINKFLAGS+=-safeseh
|
||||
.ENDIF
|
||||
|
||||
@ -301,7 +301,7 @@ LIBMGR=lib $(NOLOGO)
|
||||
IMPLIB=lib
|
||||
LIBFLAGS=
|
||||
|
||||
.IF "$(BITNESS_OVERRIDE)" == ""
|
||||
.IF "$(CPU)" == "I"
|
||||
IMPLIBFLAGS=-machine:IX86
|
||||
.ELSE
|
||||
IMPLIBFLAGS=-machine:X64
|
||||
|
@ -437,7 +437,7 @@ $(eval $(call gb_Library_use_libraries,vcl,\
|
||||
AppleRemote \
|
||||
))
|
||||
$(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
|
||||
$(if $(filter 64,$(BITNESS_OVERRIDE)),,QuickTime) \
|
||||
$(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
|
||||
Cocoa \
|
||||
Carbon \
|
||||
CoreFoundation \
|
||||
|
Loading…
x
Reference in New Issue
Block a user