Age | Commit message (Collapse) | Author |
|
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions.
Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT.
Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
|
|
Refactor everything to find and link libraries directly in INSTDIR.
- add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up
-L paths for T_LDFLAGS in such a way that only allowed libraries
can be linked against; i.e. it's not possible to link URE
linktargets against OOO or not-installed libraries
- gb_Library_get_target is now same as the gb_LinkTarget_get_target
(TODO: this needs cleanup)
- since a pattern rule won't work for linking libraries in INSTDIR,
add a separate per-file rule for every INSTDIR lib
- pattern rule can't find link target in the clean target any more
so add a LINKTARGET variable
- disable gb_Library_add_auxtarget, no auxtargets need to be copied
- tweak the call to gb_Library_Library_platform to pass in a path
in sdk/lib for the versioned URE libs
- fix the Library clean target
- add LAYER parameter to gb_LinkTarget_LinkTarget
- adjust platform link commands
- MSVC link command now uses explicit -manifestfile and -pdb
parameters to keep misc. files out of INSTDIR
- remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR
- adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery,
various CustomTargets to search INSTDIR
- remove SDK library symlinks and import libs from odk/Package_lib
- on Mac OS X, put .dylib symlinks into sdk/lib even though those
are not packaged and would be created by the SDK configury;
we need these to be somewhere for linking anyway
- add a (unfortunately cyclic) dependency on Package ure_install to sal
Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
|
|
Change-Id: I8efd69d5a6f26fdfd334ff0bc38848eccc7a85fd
|
|
Change-Id: I9d8d0a20d776740c4701ec9a1facded9f4bde77a
|
|
...since gb_LinkTarget_NOEXCEPTIONFLAGS became unused with
e81b1f23c49e35c1cde1faa44281812e97be60f5 "remove
gb_LinkTarget_add_noexception_object."
Change-Id: I4a7275b5b26a9d4b6ded66efb52e6866e6e09cc3
|
|
Clang reports itself as GCC 4.2.1 when asked the GCC way, which is about
as good an answer as any, since there's no good mapping between them.
So when testing GCC version, Clang would be usually considered too old,
and therefore the proper way is to do a configure check if possible.
GCC version should be only used for GCC-specific things such as avoiding
a bug in a specific GCC version, and such testing should first check
the compiler is not Clang.
Rename GCCVER to GCC_VERSION and use it throughout the build system
where needed. As it's empty for anything that's not GCC, this should
lead to errors when used incorrectly.
Change-Id: Iea96bbaf5d8ceabefa25be88576eeb4115384937
|
|
Change-Id: I34b6cc6eceb8f326ba7e353d3d1aee3c93ea02bd
Reviewed-on: https://gerrit.libreoffice.org/4956
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
...so that -Wstrict-aliasing, -Wstrict-overflow=1 included in -Wall do not only
produce warnings/errors in non-debug builds.
Change-Id: I4534427738fa7688853564e8c7255a0c3cd199e1
|
|
Change-Id: Ib1b1a853d265a28bfab19c0fa25b778fcec92ba6
|
|
Change-Id: If54a3d7047f13ae9c9345c21737a89afee645403
|
|
|
|
Support cramming everything into one big merged library as well as
only the libraries depended upon by almost everything.
Change-Id: I69647037dc62840294ba670d5d6c172a4608bf3f
|
|
Change-Id: I34529a56c6e6073fd5fa1e30d148fc3ec0d87617
|
|
Change-Id: Ic37205ac7750ba0cad2f60309ae56b9c7a14d711
|
|
Change-Id: I8483047631f512513cae017fdbb2dee77ce0f52f
|
|
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I61ab4b6b536e77d153f44b9f8569b49e0be60002
|
|
This reverts commit 22771babcc47b294d528d56cec360e2a94daec26.
There are still some setups in which this causes errors with WaE.
|
|
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I61ab4b6b536e77d153f44b9f8569b49e0be60002
|
|
Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f
|
|
Change-Id: I97eb27a354dfb6b6d94886729c5b6df0b0f7687a
|
|
Change-Id: I4e3e8f5ca5e5b5b59b1bd067281f90940dd893b1
|
|
Otherwise the build --without-system-stdlibs fails; This option is used
for the universal Linux build
Change-Id: I0f7d87bb161d50748fee05f9c3f6a4b87b788aa4
Reviewed-on: https://gerrit.libreoffice.org/1938
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
We have only been lucky so far that there hasn't been any compilation errors
caused by using the HOST platform config_*.h files also for the BUILD
platform. But as more and more information found out during configury is
stored in config_*.h files, sooner or later it will be a problem.
Move config/* to config_host/*. When not cross-compiling, the config_*.h files
in config_host expanded from config_*.h.in are all there is. When
cross-compiling, the generated config_*.h files for the BUILD platform are
put into a config_build folder.
Then use config_build when building the cross_toolset and config_host
otherwise.
Change-Id: I3c28cc83866bffd696b45d00dfb68e00bc2ae538
|
|
We still have checks for $(COM) being GCC or MSC in makefiles, of
course. But there is no reason to pass -D$(COM) to compilations.
Checking the built-in compiler-specific macros __GNUC__, _MSC_VER
(etc) is the right thing to do.
Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
|
|
There does not seem to be a point to using CFLAGS here, usual convention
appears to be to use AFLAGS. Not target local, since right now there is
no need for that.
Change-Id: I5d2f45777c226c0afc632adc21e446f09740d75d
|
|
The STLport was only built for the benefit of old extensions on platforms that
once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We
deliberately break such old extensions for LO 4.0 by no longer shipping that
backwards-compatiblity cludge.
Keeps STLport listed in readlicense_oo/ because of
o3tl/inc/o3tl/compat_functionality.hxx.
Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?).
Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from
l10ntools/inc/helpmerge.hxx that was once added with
854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01
(1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename
-> MoveFileEx" but now starts to cause trouble on Windows. Also disables
warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both
tools/wintypes.hxx and the Windows API) in a number of places that include
windows.h -- however the old STLport caused those warnings to not show.
Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
|
|
Change-Id: Ie4c934b52c4b010703e91f84b83e1fe590b5d187
|
|
Change-Id: Ia80a1246a7e3c8862a50a3daf79aba5609b7df3a
|
|
This patch allows to do
mkdir <build_dir>
cd <build_dir>
<src_root>/autogen.sh
make
Only the remaining dmake modules are poluting the <src_root>...
which will get eventually convererd to gmake...
Change-Id: Iefd64732fa12e096d554cff4eee6b777deb92338
Reviewed-on: https://gerrit.libreoffice.org/1273
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I17a9f3c0b16cef7ea4ef3db938337545beef3609
|
|
As the latter does not quite scale, and also source files depending
on the setting/feature did not rebuild in case of a change.
There are intentionally more config_xxx.h files (so autoheader
from autotools is not used), so that a setting change does not force
automatically a rebuild of everything. Running configure does not
touch those config_xxx.h files that have not changed.
There's config/README with a howto.
Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
|
|
Change-Id: If5b551c46de4afae2393a6320d08c191feafc358
|
|
Change-Id: I39ce208c1e5dd307631c628217ff596632753f23
|
|
This reverts commit 6292b12acfdddd51a816fad3b3ea8073a58eb3c2.
Should no longer be necessary after git submodules migration.
|
|
Change-Id: I99a3e097865bd5305886e2d5f91e86d0d691de22
|
|
Using --enable-debug already makes the build a non-product build,
so this whole 'product' notion is rather confusing when reading
the build system code.
Change-Id: I4bb6b879a6bcd8c76c4b48ddaccb433ab8eb4bb2
|
|
Change-Id: I12e98ac9fc49ef2007914324006a396d183b778c
|
|
Some of the areas are guesses I've added after seeing them, whoever feels reponsible
for whichever part of the code feel free to adjust them.
Change-Id: I2192de84d51cc2bc7c28fa84019d38b465985d15
|
|
The plugin is intentionally built using a custom Makefile,
because it's used by gbuild, so I don't want to build the plugin
using gbuild too. It is also intentionally not placed under workdir/,
as that is cleaned by 'make clean', the plugin is cleaned only
by 'make distclean', so that cleaning it doesn't cause ccache misses.
No actual functionality in the plugin itself yet.
Change-Id: Ic05eba8d6260eec123c9e699eb5385abfe1b832f
|
|
Change-Id: I042269aabaa2e9952c5d2f41cf93e55d654f6313
|
|
Change-Id: Ica30efee4fcd030dcc063321ba678a00bec726cd
|
|
Change-Id: Ifbcd2c7db1985ca8fcc74dbbe74ffb93177d6490
|
|
Change-Id: I1f676b7536183f68795595f216ae23610cadb1eb
|
|
Change-Id: I2ff0ee983d008d580bd9d52cedc2643293b9710e
|
|
There is always the question whether we should add in front or after any
existing value. I add after here, mainly to keep gb_Helper_extend_ld_path
consistent and simple.
Also, WNT_INTEL_MSC JunitTest was causing the Java code to call soffice with
empty (instead of unaugmented) PATH.
Change-Id: I3888c0a9085cee7052eb6ea1ed7bbf4a2ea14408
|
|
Change-Id: I82f62c998837783ac69317123268b0c87f74425f
|
|
Due to the scourge of symlinked git repositories, building the
configuration files in dictionaries fails on cygwin because the native
xsltproc cannot understand cygwin symlinks; work around that with a
new gb_Helper_symlinked_native function.
Should be reverted once git sub modules liberate us from the scourge.
Change-Id: Idc48da9b60348dc66160219909479c3c83daeaf2
|
|
make 3.82 understands mixed paths, so use them.
This allows us to get rid of evil in BuildDirs.mk.
Hopefully, life will be simpler now.
Change-Id: I I I641f28c6af1948963f7004f8071af62e21caabb3
|
|
Let --enable-debug determine whether optimization should be disabled,
which works also for debug=t due to the setup in gbuild.mk.
Also clean up uses of gb_COMPILEROPTFLAGS: this is now always set to
optimization settings, and gb_COMPILERNOOPTFLAGS used in debug case,
which should not make a difference because the only actual difference
was that on MSVC the debug OPTFLAGS were empty, but -Od is documented as
the default for this.
|
|
Maybe they'll be supported somewhen in the future, so do not hardcode
them out. Also, gb_DEBUG_C(XX)FLAGS are apparently common GCC options,
not platform-specific.
|