Commit graph

550 commits

Author SHA1 Message Date
Robert Nagy
7237a871ba rework how pthread is handled on openbsd
- remove -pthread from PTHREAD_CFLAGS
- add pthread to gb_STDLIBS
- redefine gb_LinkTarget__command_dynamiclink so that we can
  substitute -lpthread with -pthread in the list of libraries
  that we link to
2011-04-04 00:26:22 +02:00
Robert Nagy
5ded3ab2ab merge the bsd platform makefiles into one per platform 2011-04-03 23:48:52 +02:00
Robert Nagy
da9f525995 add -Wl,--sysroot=$(SYSBASE) to gb_LinkTarget_LDFLAGS only if SYSBASE is !nil 2011-04-03 22:13:19 +02:00
Bjoern Michaelsen
a59e57ab2c skip Junit test, when no Junit available 2011-04-01 13:49:12 +02:00
Jan Holesovsky
3ffc8fb3f3 Build with no optimizations already with dbglevel == 1.
Based on talk with David Tardod, the dbglevels are supposed to be:

0 - product
1 - debug
2 - advanced debug (with additional code)
2011-03-30 10:58:11 +02:00
David Tardon
0e3291b6ff safer way to set debug level 2011-03-30 07:23:51 +02:00
David Tardon
5bb42850c2 Revert "Default to debuglevel 2 when building with debug=true (using gnu make)."
This reverts commit 8fe706327e09764c46dc1813f5e583857fca3d05.
2011-03-30 07:21:33 +02:00
Bjoern Michaelsen
4a27caaed3 enable headless Junit tests and default to that 2011-03-29 21:04:31 +02:00
Jan Holesovsky
a38f3926ed Default to debuglevel 2 when building with debug=true (using gnu make). 2011-03-29 15:43:56 +02:00
Bjoern Michaelsen
d357546ffd added gbuild help message 2011-03-28 12:06:38 +02:00
Caolán McNamara
d0d678b46a overloaded-virtual is a c++ option not a c one 2011-03-28 10:28:31 +01:00
Bjoern Michaelsen
fb40f4ede7 handle empty JavaClassSets gracefully 2011-03-28 02:28:01 +02:00
Bjoern Michaelsen
b90f400d46 do not depend on an uptodate build for subsequentcheck for now 2011-03-28 02:27:12 +02:00
Bjoern Michaelsen
9f2d6d63ee no sneaky JAVACOMPILER/JAVAINTERPRETER defaults
* we want no sneaky default values for JAVACOMPILER/JAVAINTERPRETER, we have ./configure
2011-03-27 12:43:42 +02:00
Bjoern Michaelsen
0acd9982c0 adding a comment documenting Module.mk 2011-03-27 12:27:05 +02:00
Bjoern Michaelsen
c56ceabe66 adding a comment documenting LinkTarget.mk 2011-03-27 12:09:59 +02:00
Bjoern Michaelsen
8750c4ff00 adding a comment documenting AllLangResTarget.mk 2011-03-27 11:25:59 +02:00
Bjoern Michaelsen
4bf5783b32 fix regression introduced with 37705446d2eec207d9e0e3d39997792229fb8b1f
* l10n should now work again (thanks timar for the hint)
2011-03-27 11:05:17 +02:00
Andras Timar
0c4f0a228d Revert "for l10n, we should actually use the merged files"
This reverts commit 58c163ab45d0cf7684a6a5feb0ec0076015bea3f.
2011-03-26 22:13:43 +01:00
Caolán McNamara
1eb0bc70e5 we can build with strict-aliasing with >= 4.6.0 now 2011-03-26 14:37:23 +00:00
Caolán McNamara
4b7bced098 -fno-use-cxa-atexit is dubious IMO 2011-03-26 14:37:23 +00:00
Bjoern Michaelsen
a205f18bb1 for l10n, we should actually use the merged files 2011-03-26 15:22:03 +01:00
Luboš Luňák
156471e436 enable -Woverloaded-virtual gcc warning
http://lists.freedesktop.org/archives/libreoffice/2011-March/009567.html
2011-03-25 17:37:12 +01:00
Francois Tigeot
e35c8ea9e7 Consolidate all platform/dragonfly-*.mk in a single file. 2011-03-25 16:54:09 +01:00
Francois Tigeot
2bbf77766d Add support for i386. 2011-03-25 16:46:04 +01:00
Caolán McNamara
fa1d8ddc06 add in the bsds 2011-03-25 12:43:39 +00:00
Caolán McNamara
fd04eb6add powerpc uses two defs 2011-03-25 12:43:15 +00:00
Caolán McNamara
341efcf5d8 regain support for arm, ppc, s390x etc. 2011-03-25 12:43:15 +00:00
Bjoern Michaelsen
381d3499a4 fixing installation paths for subsequent tests 2011-03-25 12:40:35 +01:00
Petr Mladek
4dc8b9fd09 search localized strings in the new "translations" module also by GNU make 2011-03-25 12:13:50 +01:00
Fridrich Štrba
23b7e73406 Some realpath foo to build resource files 2011-03-25 10:45:25 +01:00
Fridrich Štrba
f6cc3fd663 Add advapi32 to gd_STDLIBS, since it not linked with by default 2011-03-23 17:35:29 +01:00
Jan Holesovsky
d1862bfe1a Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/bootstrap 2011-03-23 17:13:20 +01:00
Jan Holesovsky
5f08d6e5a4 Merge commit 'ooo/DEV300_m103'
Conflicts:
	configure
	configure.in
	instsetoo_native/util/openoffice.lst
	set_soenv.in
	solenv/bin/cws.pl
	solenv/bin/modules/installer/simplepackage.pm
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/extensions/post_PackModule.mk
	solenv/gbuild/platform/linux.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/windows.mk
	solenv/inc/installationtest.mk
	solenv/inc/minor.mk
	soltools/cpp/_eval.c
2011-03-23 16:58:44 +01:00
Tor Lillqvist
ad6c30fb49 Drop linker switch -DLL, should not be used when linking EXEs 2011-03-23 13:00:05 +02:00
Fridrich Štrba
0274c596dd Yet another attempt 2011-03-22 13:21:55 +01:00
Fridrich Štrba
90c0043db2 Another attempt at linking on windows 2011-03-22 13:20:22 +01:00
Caolán McNamara
31cb34254f drop -g1 and align gmake gd_SYMBOL from TRUE 2011-03-22 11:26:06 +00:00
Fridrich Štrba
2593439d2b Trying to remove NODEFAULTLIB on Windows 2011-03-22 11:11:20 +01:00
Francois Tigeot
faae793ae8 Treat DragonFly as Linux.
The new build system has introduced some new operating system
conditionals. Use the same path as Linux on DragonFly for now.
2011-03-21 23:27:06 +01:00
Bjoern Michaelsen
cf1aa83981 enable optional deliver by hardlink with gb_Deliver_HARDLINK 2011-03-21 14:03:57 +01:00
Bjoern Michaelsen
f5ddeaa24b stripping on linking on linux unless SYMBOLS or DEBUG have been requested 2011-03-21 14:03:57 +01:00
Bjoern Michaelsen
955aa61dd0 fixing gb_SYMBOL logic 2011-03-21 14:03:57 +01:00
David Tardon
e3291e927f accept user-supplied CFLAGS/CXXFLAGS 2011-03-21 13:37:01 +01:00
David Tardon
372debc42b make default debug level 1 and use dbglevel if set 2011-03-19 17:13:10 +01:00
David Tardon
6cb2495999 do not build cppunit if not needed
Suggested by Bjoern Michaelsen.
2011-03-19 16:58:49 +01:00
David Tardon
ac257ccd52 second attempt 2011-03-19 14:36:23 +01:00
David Tardon
598300a489 use system cppunit if configured so 2011-03-19 11:52:49 +01:00
Tor Lillqvist
d4c24925ec Avoid unnecessary PATH manipulation for exes located in OUTDIR/bin
svidl.exe, transex3.exe and xsltproc.exe are themselves in
${OUTDIR}/bin, so no need to add that directory to PATH when running
them. They will find the DLLs they need from there automatically
anyway.

Besides, the PATH manipulation was wrong as OUTDIR here is a Win32
pathname, starting with a drive letter and colon, while PATH is the
Cygwin one that contains Cygwin pathnames with no drive letters and
with colon as the search path separator. Thus a cygpath -u
transformation of OUTDIR would have been needed to actually make it do
what was intended.
2011-03-18 17:35:01 +01:00
Tor Lillqvist
67e10dfb33 Set PATH properly when running cppunittester 2011-03-18 17:35:00 +01:00