Luboš Luňák
6efe9918d3
add -Wl,-O1 as linker optimization flags when debug is disabled
2011-04-14 15:06:31 +02:00
Francois Tigeot
08d49db2aa
Remove CVER.
...
It is no longer used.
2011-04-14 13:41:19 +02:00
Caolán McNamara
1090e9dbca
move this in here so that on windows we convert paths to win format
2011-04-13 20:35:07 +01:00
Luboš Luňák
57ec5069ec
switch -ggdb3 to -ggdb2 to significantly reduce binaries sizes
...
http://lists.freedesktop.org/archives/libreoffice/2011-April/010408.html
2011-04-13 14:02:07 +02:00
Julien Nabet
6811d994ec
fno-default-inline removed for CFLAGS since it's valid only for C++
2011-04-12 22:36:15 +02:00
Luboš Luňák
19c922f1d2
$(WITH_LINKER_HASH_STYLE) also for gbuild
2011-04-11 17:01:23 +02:00
Bjoern Michaelsen
0814799090
remove debug output
2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
3db91b7f80
set STAR_RESOURCEPATH for cppunit tests to find resources from solver
2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
ac3f888b4c
add support for auxiliary arguments to the cppunit tests
2011-04-11 12:25:04 +02:00
Caolán McNamara
b9bc97d455
allow setting DEBUGCPPUNIT=TRUE to dump a gdb try/catch trace
2011-04-07 11:37:56 +01:00
David Tardon
9da441f0c4
remove duplicate code
...
This was introduced by commit 3726b1a63e0783953fee9c65d8c0cee3fd6cf85b .
2011-04-06 12:47:49 +02:00
David Tardon
0d75184488
$(1) is not defined here
2011-04-06 12:07:40 +02:00
David Tardon
937aae1b27
use just order-only dep. on cppunittester
2011-04-06 12:07:39 +02:00
Caolán McNamara
84568d73b8
fix build
2011-04-05 14:45:17 +01:00
David Tardon
4620f155b5
do not define NDEBUG on debug level 1
2011-04-05 14:32:28 +02:00
David Tardon
8542a0d05d
fix typo
2011-04-05 14:32:28 +02:00
David Tardon
31979fa2c5
update the dbglevel comment
2011-04-05 14:32:27 +02:00
Bjoern Michaelsen
7a5e0f474f
fixing up extra object list support
2011-04-05 11:51:04 +02:00
Bjoern Michaelsen
2f3793391e
make get_linktargetname public again so unittests can find the object lists
2011-04-05 11:51:04 +02:00
David Tardon
7cc69243e7
fix typo
2011-04-05 08:56:36 +02:00
Norbert Thiebaud
98553de136
add the ability to imports objects directly into a CppUnitTest Link
...
some cppunit test need to link directly with the object of the module
they are meant to test, due to the fact that the API they use/test
are not necessarily exported in the public interface of the
module's dynamic library.
This patch add the mean to export the list of objects used in the link of
specific target library, and a mean to import these into the link of
a cppunit.
Only unxgcc.mk has been modified so far to support the later
This is not intended to be use to import objects accross module boundaries
2011-04-04 09:17:24 -05:00
Caolán McNamara
fa502cf881
restore c++0x flags
2011-04-04 10:28:38 +01:00
Robert Nagy
65be428ea6
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:28:18 +02:00
Robert Nagy
f0bfd04f72
merge the bsd platform makefiles into one per platform
2011-04-03 23:51:23 +02:00
Robert Nagy
bc42d93482
add -Wl,--sysroot=$(SYSBASE) to gb_LinkTarget_LDFLAGS only if SYSBASE is !nil
2011-04-03 22:15:59 +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