Changeset 5301 in vbox for trunk/src/libs/xpcom18a4/Makefile.kmk
- Timestamp:
- Oct 15, 2007 8:42:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r4933 r5301 27 27 TEMPLATE_XPCOM_ASTOOL = $(TEMPLATE_VBOXR3NP_TOOL) 28 28 TEMPLATE_XPCOM_ASFLAGS = $(NO_SUCH_VARIABLE) 29 TEMPLATE_XPCOM_ASFLAGS.x86 = -m32 30 TEMPLATE_XPCOM_ASFLAGS.amd64 = -m64 29 31 TEMPLATE_XPCOM_ASDEFS = $(NO_SUCH_VARIABLE) 30 32 TEMPLATE_XPCOM_CXXFLAGS = -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor \ 31 33 $(VBOX_GCC_Wno-invalid-offsetof) -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy \ 32 34 $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) 35 TEMPLATE_XPCOM_CXXFLAGS.x86 = -m32 36 TEMPLATE_XPCOM_CXXFLAGS.amd64 = -m64 33 37 TEMPLATE_XPCOM_CXXFLAGS.debug = -fno-inline 34 38 TEMPLATE_XPCOM_CXXFLAGS.release = -O … … 40 44 TEMPLATE_XPCOM_CXXFLAGS.solaris = -fno-omit-frame-pointer # for now anyway. 41 45 TEMPLATE_XPCOM_CFLAGS = -pipe -Wall -Wno-unused -Wno-parentheses -Wno-uninitialized $(VBOX_GCC_fvisibility-hidden) 46 TEMPLATE_XPCOM_CFLAGS.x86 = -m32 47 TEMPLATE_XPCOM_CFLAGS.amd64 = -m64 42 48 TEMPLATE_XPCOM_CFLAGS.debug = -fno-inline 43 49 TEMPLATE_XPCOM_CFLAGS.release = -O … … 58 64 TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2_4.5\" OSARCH=\"OS/2\" XP_OS2 XP_PC BSD_SELECT OS2=4 59 65 TEMPLATE_XPCOM_DEFS.solaris = OSTYPE=\"Solaris10\" OSARCH=\"Solaris\" XP_UNIX=1 XP_SOLARIS=1 HAVE_LIBDL=1 HAVE_SENDFILEV=1 SOLARIS=1 _REENTRANT 66 TEMPLATE_XPCOM_LDFLAGS.x86 = -m32 67 TEMPLATE_XPCOM_LDFLAGS.amd64 = -m64 60 68 TEMPLATE_XPCOM_LDFLAGS.darwin = $(VBOXR3NP_LDFLAGS.darwin) \ 61 69 -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \ … … 154 162 TEMPLATE_XPCOMBLDPROG_DEFS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_BLDPROG_DEFS.$(BUILD_TARGET_ARCH)) $(TEMPLATE_XPCOMEXE_DEFS.$(BUILD_TARGET_ARCH)) 155 163 TEMPLATE_XPCOMBLDPROG_CXXFLAGS = -ansi -Wall -Wno-non-virtual-dtor 164 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CXXFLAGS.$(BUILD_TARGET_ARCH)) 156 165 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.release = -O 157 166 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.profile = -O … … 159 168 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.linux = -pthread 160 169 TEMPLATE_XPCOMBLDPROG_CFLAGS = -pipe -ansi -Wall -Wno-unused 170 TEMPLATE_XPCOMBLDPROG_CFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CFLAGS.$(BUILD_TARGET_ARCH)) 161 171 TEMPLATE_XPCOMBLDPROG_CFLAGS.release = -O 162 172 TEMPLATE_XPCOMBLDPROG_CFLAGS.profile = -O … … 798 808 VBox-xpcom-nspr_SOURCES.solaris = nsprpub/pr/src/md/unix/solaris.c 799 809 VBox-xpcom-nspr_SOURCES.solaris.x86 = nsprpub/pr/src/md/unix/os_SunOS_x86.s 800 VBox-xpcom-nspr_SOURCES.solaris.amd64 = nsprpub/pr/src/md/unix/os_SunOS_ amd64.s810 VBox-xpcom-nspr_SOURCES.solaris.amd64 = nsprpub/pr/src/md/unix/os_SunOS_x86_64.s 801 811 802 812 … … 967 977 VBox-xpcom-xptcall_DEFS.darwin = KEEP_STACK_16_BYTE_ALIGNED 968 978 VBox-xpcom-xptcall_DEFS.l4 = L4 979 VBox-xpcom-xptcall_DEFS.os2 = MOZ_NEED_LEADING_UNDERSCORE 980 VBox-xpcom-xptcall_INCS.os2 = xpcom/reflect/xptcall/src/md/unix 969 981 VBox-xpcom-xptcall_SOURCES = xpcom/reflect/xptcall/src/xptcall.cpp 970 982 VBox-xpcom-xptcall_SOURCES.darwin.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp \ … … 978 990 VBox-xpcom-xptcall_SOURCES.linux.amd64 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp \ 979 991 xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp 980 # gcc/emx sources981 992 VBox-xpcom-xptcall_SOURCES.os2 = xpcom/reflect/xptcall/src/md/os2/xptcinvoke_gcc_x86_os2.cpp \ 982 993 xpcom/reflect/xptcall/src/md/os2/xptcstubs_gcc_x86_os2.cpp 983 VBox-xpcom-xptcall_INCS.os2 = xpcom/reflect/xptcall/src/md/unix984 VBox-xpcom-xptcall_DEFS.os2 = MOZ_NEED_LEADING_UNDERSCORE985 # IBM/VAC sources (not used)986 #VBox-xpcom-xptcall_SOURCES.os2 = xpcom/reflect/xptcall/src/md/unix/xptcstubs_os2.cpp \987 # xpcom/reflect/xptcall/src/md/unix/xptcinvoke_vacpp.asm \988 # xpcom/reflect/xptcall/src/md/unix/xptcstubs_vacpp.asm989 990 994 VBox-xpcom-xptcall_SOURCES.solaris.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_solaris.cpp \ 991 995 xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp 996 VBox-xpcom-xptcall_SOURCES.solaris.amd64 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp \ 997 xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp 998 992 999 xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp_CXXFLAGS = -O0 993 1000 # -O0 works fine, while -O1 doesn't. The gcc man page can't be listing all the -f*
Note:
See TracChangeset
for help on using the changeset viewer.