summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform
AgeCommit message (Collapse)Author
2013-04-18Revert _GLIBCXX_DEBUG on Mac OS X againStephan Bergmann
It does not work, see <http://lists.freedesktop.org/archives/libreoffice/2013-April/050321.html> "Re: [ANN] --enable-dbgutil: everyone gets a Debug STL!" Change-Id: I0b0c0faa03a1a03095b70454d38a1a193b42d56a
2013-04-17workaround problems with LTO for some libraries (disable for them)Matúš Kukan
Currently enabling lto fails for scfilt frm and wpftdraw which should be fixed and this commit reverted. Change-Id: I73b1846458dd7830425279328dd4e652269afc1a
2013-04-16fix path for shlinfo.rc for WinResTargetDavid Tardon
Change-Id: If70bdfc3eed5f9873c95404d0d1f5723b0e51140
2013-04-16Turn on _GLIBCXX_FULLY_DYNAMIC_STRING, too, in a dbgutil buildTor Lillqvist
Apparently Apple's build of GNU libstdc++ has been compiled with that, which means that also code using it should be. At least when _GLIBCXX_DEBUG is also defined. See http://lists.apple.com/archives/cocoa-dev/2009/Sep/msg01199.html and http://stackoverflow.com/questions/2234557/c-using-getline-prints-pointer-being-freed-was-not-allocated-in-xcode Otherwise the mork unit test crashes, because it happens to use std::string in a way that triggers the problem. But quite likely there would be more problems elsewhere. Change-Id: Ie0c4fdfa61764718f333ba81015ef764806178fb
2013-04-15Use -D_GLIBCXX_DEBUG here, too, in a dbgutil buildTor Lillqvist
Change-Id: Ie07ad3b9bd2d3f95db5be8a98866aaa088b4c79f
2013-04-15gbuild: fix WNT build breakage in gb_Library_get_exports_target:Michael Stahl
Depending on the library is a total failure because it causes it to be linked with random junk inherited from other targets. (regression from 3213cd54b76bc80a6f0516aac75a48ff3b2ad67c) Change-Id: I1069b870ea0719bc6c01b7f8f3ddf9ff695c9850
2013-04-15gbuild: --enable-dbgutil: enable STL assertions for Mac OS XMichael Stahl
Works here with Apple llvm-g++ 4.2.1; cannot run "subsequentcheck" due to remote login. Change-Id: I187620b65f82095b5e9b7433c01ede429a27c719
2013-04-15gbuild: add support for building against MSVC debug runtimeMichael Stahl
Mainly this means using /MDd instead of /MD and /MTd instead of /MT in the CFLAGS, and also re-mapping of .lib files to ones with "d". Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338
2013-04-15on WNT the gb_Helper_set_ld_path must contain backslashesMichael Stahl
... or at least with forward slashes cppunittester doesn't run at all in an MSVC 2008 _DEBUG build. Change-Id: I889ff0375067877d42f11fad9773c476e9e5c52c
2013-04-15gbuild: LinkTarget: only re-link libraries if exported symbols changeMichael Stahl
Write out the exported symbols of a Library to a "libfoo.so.exports" file, which is only touched when linking if the exported symbols actually change, and let dependent LinkTargets depend on this exports file instead of the library itself, for faster rebuilds. This is currently supposed to work on ELF and MacOSX platforms. Thanks to Ami Fischman of Chromium for the idea. Change-Id: Ie4b5da0853140709e517028b514800b044527e61
2013-04-15bridge_lib_name is $(gb_CPPU_ENV)_unoMatúš Kukan
Also fix gb_CPPU_ENV := msc6 in WNT_X86_64_MSC.mk to be consistent with the name we register in Repository.mk. Change-Id: I1520d78c378f8c48d65defb22c4c77277bd061f7
2013-04-13install Pyuno using PackageDavid Tardon
Change-Id: Iabc029091096c82ff2dc79f0fad8f2bf9ee89514
2013-04-11create --enable-mergelibs=all optionPeter Foley
Support cramming everything into one big merged library as well as only the libraries depended upon by almost everything. Change-Id: I69647037dc62840294ba670d5d6c172a4608bf3f
2013-04-11autoinstall ure private librariesMatúš Kukan
Change-Id: Ia390c4d4a9be4b5520fd82a573029ea242f9ffb9
2013-04-11remove obsoleted postprocess/packconfigDavid Tardon
Change-Id: I93313dc03e8ed7d4d1a653df92145a153e20e5b1 Reviewed-on: https://gerrit.libreoffice.org/3234 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11impl. platform-specific processing for menubar configsDavid Tardon
This is the last step needed to obsolete postprocess/packconfig/packconfig.pl. Change-Id: Iad6de126a467aadc829244951f98fc8b202fbd95 Reviewed-on: https://gerrit.libreoffice.org/3232 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-10Use codesign --timestamp=none for now for the executablesTor Lillqvist
Avoids annoying intermittent "The timestamp service is not available" errors that break an otherwise nicely progressing build. Hopefully those errors are caused just by some temporary overload of some Apple server. Anyway, we will still sign the app bundle in the normal way, with a timestamp. Change-Id: I838b39956b87d36138ccbc4e90c2d11e380d690a
2013-04-09move dep on solenv_inc to platformDavid Tardon
Change-Id: I86db3c7290e22491f41d198dfb53e01f6bbdc50c
2013-04-07Drop workarounds for Mac OS X SDKs 10.4 and 10.5Tor Lillqvist
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-06library path var on AIX is LIBPATHCaolán McNamara
Change-Id: I34529a56c6e6073fd5fa1e30d148fc3ec0d87617
2013-04-05use filelist install method for udkapi and offapiDavid Tardon
... so we can drop ZipUnoApi again. Change-Id: Id5925b8c101cd7cb70614a9a26f328dec92db8fa Reviewed-on: https://gerrit.libreoffice.org/3152 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-04remove -dylib_file mappings that are not needed anymoreChristian Lohmaier
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries without explicit mapping, but as baseline is now 10.6, this wrapping is no longer necessary Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8 Reviewed-on: https://gerrit.libreoffice.org/3192 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-04-03Show backtraces for core files from CppunitTests, tooStephan Bergmann
Change-Id: Idff2831913b6fb6e5b522ae36fffeb345e3a1140
2013-03-27Enable -Wunused-macrosStephan Bergmann
Change-Id: Ic37205ac7750ba0cad2f60309ae56b9c7a14d711
2013-03-26No (more/apparent) need for LIBO_WERRORStephan Bergmann
Change-Id: I8483047631f512513cae017fdbb2dee77ce0f52f
2013-03-24make bridges work with clang on x64 linuxPeter Foley
Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf
2013-03-23make gcc-wrapper work with ccachePeter Foley
Change-Id: I4db04d8ce04c928b67d86172fcbe33adacbd85d8
2013-03-21Use BOOST_MEM_FN_ENABLE_CDECL only for x86Tor Lillqvist
Change-Id: I3f752678f72260d5e481a71164a30cfc96807034
2013-03-21Use subsystem version 5.02 on x64Tor Lillqvist
Change-Id: I957cda779d300449e2110748a516c9662126f761
2013-03-20add -Wundef to compiler flagsLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I61ab4b6b536e77d153f44b9f8569b49e0be60002
2013-03-20make gcc-wrapper work even with ccacheDavid Ostrovsky
Change-Id: If97cc4f2af2adb6af1217cf7b095d0f0f7831bca Reviewed-on: https://gerrit.libreoffice.org/2857 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-18Revert "add -Wundef to compiler flags"Luboš Luňák
This reverts commit 22771babcc47b294d528d56cec360e2a94daec26. There are still some setups in which this causes errors with WaE.
2013-03-18add -Wundef to compiler flagsLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I61ab4b6b536e77d153f44b9f8569b49e0be60002
2013-03-15remove trailing whitespaceBjoern Michaelsen
- as this is being quoted, this causes breakage Change-Id: I6834a3235ae2334a0d6f7df0f97dcde7cdc6a5d0
2013-03-14gbuild: move MSC specific wrapper stuff to platform/Michael Stahl
That's where code conditional on COM or OS belongs. Change-Id: Id31378bcc840dc38aa4b64241f0d1ccc11a99792
2013-03-11add pch support to gccPeter Foley
Change-Id: I58c11477c1ce48185528db3a8013b5dccf3947c6 Reviewed-on: https://gerrit.libreoffice.org/2653 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-06do not execute unit tests when cross-compilingMatúš Kukan
For both build and host platform. Change-Id: I0fa9b5d85449887c2c6bd758fb1fecec9776d97c
2013-03-06clean SOLARLIB post dmake removalMatúš Kukan
I think it should die completely but openbsd and solaris still use it. Probably just setting LDFLAGS should be enough for them ? Also SOLARINC_FOR_BUILD and SOLARLIB_FOR_BUILD are not used anywhere. Change-Id: I1c11981f859876af8b90e8ba60fce2820b354022
2013-03-05avoid -manifest warning for StaticLibrariesPeter Foley
Change-Id: I13f0286e532ede2ebd9a9f9d28e71d6ec376549b
2013-03-05remove ScpConvertTarget class, no codepage conversion is neededAndras Timar
Change-Id: I45f309c6c23704af8638003fd54f1a7e45062d61 Reviewed-on: https://gerrit.libreoffice.org/2555 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-04make lto workPeter Foley
Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f
2013-03-02more lto fixesPeter Foley
Change-Id: I97eb27a354dfb6b6d94886729c5b6df0b0f7687a
2013-03-02remove minor.mkMatúš Kukan
Hopefully all stays the same except for vcl/unx/gtk/a11y/atkutil.cxx. Change-Id: I49108007ee6d045f045de86c8654efc7ca5fd3d0 Reviewed-on: https://gerrit.libreoffice.org/2491 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-01fix build with ltoPeter Foley
Change-Id: If6544eae78a7f3d012368d62cc99d29160b1b47a
2013-02-27gbuild: add dependencies on makedepend to rules that use itMichael Stahl
Change-Id: I25d23cd9a526b0d0be37ea0a0211e407266e6475
2013-02-24fix HAVE_CXX0X case on MinGWDavid Ostrovsky
During configure phase HAVE_CXX0X is determined and exposed if the current gcc version supports it. With gcc 4.7.2 this is the case. Activate it during compilation phase too. Change-Id: I7b738de083fa337a422c20bdf88d9dca5f8303ed
2013-02-09make it possible to limit what files will be modified by a compiler pluginLuboš Luňák
Change-Id: I4e3e8f5ca5e5b5b59b1bd067281f90940dd893b1
2013-02-02Sign executables right after linkingTor Lillqvist
Change-Id: I27c929deffeb803e103609634b501622e04da033
2013-02-01No need for aliases hereStephan Bergmann
Change-Id: I29dcc26eb13222ef4348ab3281a19b2e6f8c46f2
2013-02-01one more config_host/ breakageLuboš Luňák