Commit graph

125 commits

Author SHA1 Message Date
Caolán McNamara
89fcfe2ec2 disable building the icu samples
Change-Id: I8e8fbb33bcb008d45f539a112b4bf210603286c9
2012-07-27 15:45:27 +01:00
Caolán McNamara
d1561a0813 for external modules add a dependency on the makefile.mk itself
so that on version bumps and/or added/removed patches that we
rebuild them from scratch, which hopefully will make incremental
builds post external module bump pain-free

Change-Id: If268401a2794989d49861c08f7a69ef926cf5809
2012-07-17 14:11:05 +01:00
Caolán McNamara
7cb7efce35 make icu build on mips again
my mips supports hash-style=both, but if you actually use it ld
barfs with "gnu.hash is incompatible with the mips abi"

everywhere else we just do -Wl,--hash-style=$(WITH_LINKER_HASH_STYLE)

Change-Id: Ie310b7edad0d3068e5c4fcfed22aaea96698a06b
2012-07-12 14:10:38 +01:00
Jonathan Adams
850e9faa2d icu: add patch for Solaris/GCC
Change-Id: I070b878b9275884e1ad0db3bb07483a3451682fb
2012-06-21 22:16:50 +02:00
Matúš Kukan
1cb5fa76a8 bin icuversion.mk, set the variables in configure
Change-Id: Ife00d7477dacfe1eb325c722517fb038ead083db
2012-05-29 07:35:25 +02:00
Tor Lillqvist
a7098c77b3 Move the RPATH enforcement to icu4c-rpath.patch and skip that for Android
We might eventually want to use Mike Hommey's "faulty.lib" dynamic
linker (developed for Firefox on Android) to get around the Android
system dynamic linker's silly limitations. It does not like
DT_RPATH. (The Android system dynamic linker just ignores those.) So
no point putting RPATH into the ICU libs for Android.

Note that the faulty.lib linker is not usable currently because it
doesn't like the text relocations that the NDK r8 toolchain generates
for some reason. Sigh.

Change-Id: I9092c6001f0aadbb30e2682e33e7179520846f3b
2012-05-17 00:07:13 +03:00
Caolán McNamara
c7f60050da restore this, problem was ever-growing PATH for incremental builds
which is hopefully fixed by b0b92d1e5f

Change-Id: I237381609b132666083fd0ff159625770e0db243
2012-05-16 12:04:10 +01:00
Fridrich Štrba
e062c50b19 Comment this one because it randomly breaks Windows build
Change-Id: I3f00ab7149d6d198292d63ed3f16b213b39a3054
2012-05-14 22:34:34 +02:00
Caolán McNamara
2068144fdc ensure freshly built icu headers are newer than previous headers
Change-Id: I Icf78937810e1d8ac646805d9f523a4149f45acb5
2012-05-13 09:50:42 +01:00
Tor Lillqvist
4134d6df2d Must prepend uconfig.h.prepend to uconfig.h when using --with-library-suffix
Change-Id: I201292765bd8514749757f84c55ffaec68e03a6b
2012-05-11 16:40:15 +03:00
Tor Lillqvist
f9b5e3d8ce Fix copy/pasted comment
Change-Id: I I782827cfaf58e6eb4f6f3f8cd4159a0f787a7024
2012-05-11 16:20:01 +03:00
Caolán McNamara
9590650af7 gcc atomics only definitely available >= gcc 4.4.4
Change-Id: I77580411eabe4375d86670debb4a5770f7873c14
2012-05-11 13:40:50 +01:00
Caolán McNamara
4fc79b3551 try and bodge macosx 10.4 build
Change-Id: Ic862cbfcdc1742d905a59862e63742b581752bfe
2012-05-11 12:26:15 +01:00
Caolán McNamara
5835518106 upgrade to icu 49
Change-Id: I I I I I If403ee07ef8ea654369a8faac57fa8940f90e040
2012-05-11 11:27:18 +01:00
Caolán McNamara
5386b7633d configure icu for windows via runConfigureICU Cygwin/MSVC
which should hopefully
a) work
b) unblock the upgrade path for icu

Change-Id: Ic70a627f3135e53016a4f9cfdef3fc85d55ab3e4
2012-05-10 12:19:09 +01:00
Thomas Collerton
9520dbf59f EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09 16:31:31 +02:00
Caolán McNamara
44f8c0e1fc fix typo
Change-Id: I2becc370331e979987b34dbfff25ac4eddd9b067
2012-05-02 11:35:10 +01:00
Caolán McNamara
022f7f0c25 can use -O2 without -fstrict-aliasing for icu
Change-Id: I9841adb2e17e11c32823ac9e438bae824d30599e
2012-05-02 11:20:33 +01:00
Luboš Luňák
ff5a80024a fix icu parallel build 2012-03-17 09:21:11 +01:00
Stephan Bergmann
7c4f2ec8a7 Simplify install name handling for external libraries on Mac OS X
...by allowing our special @___... tokens anywhere within an install name,
so that external modules can configure --prefix=/@___... etc.  This removes
the need for the special extshl and EXTRPATH=LOADER.  Also, a new
OUT2BIN_NONE can be used for external modules where the generated libraries
need the default EXTRPATH=OOO, but generated executables are only used
during the build and such need RPATH=NONE.
2012-02-29 18:46:38 +01:00
Rene Engelhard
f42948d0df fix icu build on arm
(from http://patch-tracker.debian.org/patch/series/view/icu/4.4.1-7/arm-assembler.patch)
2012-02-17 16:40:46 +01:00
Caolán McNamara
7c21df4eb3 typo in .IF 2012-01-10 13:14:53 +00:00
Caolán McNamara
cf5d0e20f2 Resolves: CVE-2011-4599 2011-12-12 12:44:34 +00:00
Tor Lillqvist
f62c8ecdfc Use -fno-omit-frame-pointer for Android (no idea if essential) 2011-11-21 18:21:49 +02:00
Tor Lillqvist
27f585b6b5 Link with -lgnustl_shared for Android 2011-11-21 15:48:54 +02:00
Tor Lillqvist
8a3ea757c3 Use --with-library-suffix=lo for Android to avoid clash with system ICU 2011-11-21 15:48:53 +02:00
Tor Lillqvist
190ddfcdb2 Don't use any major version soname suffix for Android
But... the names our ICU libraries get built as clash exactly with
Android's system ICU library names, predictably leading to chaos. I
will have to come up with a non-clashing names for our ICU libraries
on Android.

(But isn't it stupid to include an own build of ICU if there is one in
the system already? Sure, but on the other hand the NDK doesn't
include ICU headers or libraries, so clearly Google doesn't consider
it part of the documented API. No guarantee of version stability
etc. Indeed best to avoid them then.)
2011-11-21 01:51:18 +02:00
Tor Lillqvist
e0183772e5 Deliver just shared library file names ending in .so for Android 2011-11-10 01:46:19 +02:00
Tor Lillqvist
2a214cc6d3 Compile also ICU for debugging if --enable-debug 2011-09-27 23:31:37 +03:00
Tor Lillqvist
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
Jan Holesovsky
67f7622502 Fix some icu cross-building problems.
Still it does not finish, though; to be continued.
2011-08-19 18:43:29 +02:00
Tor Lillqvist
adb5525740 Initial attempt at Android cross-compilation support
Recognize the arm-linux-androideabi "triplet". (Actually I doubt that
is a well-formed triplet at all, what are the Google people smoking?)

Allow longer lines in pkgdata.cpp as the compiler command line gets
quite long for cross-compilation to Android.

Add the proper assembly source file format for Android to pkg_genc.c
and use that.

Probably a good idea to use --disable-dyload on Android (and iOS).

Tweak gcc flags used for Android a bit to work around some Android C
header weirdness related to strictness and 64-bit types.
2011-06-11 17:50:36 +03:00
Tor Lillqvist
78f9b77628 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:07:30 +03:00
Tor Lillqvist
6654a13382 No ICU_NATIVE_BUILD_ROOT used any more 2011-06-05 01:22:02 +03:00
Christian Lohmaier
fe8fb7e519 data/mappings/ucm*.mk & data/translit/trn*.mk don't exist in current icu anymore 2011-06-04 18:52:19 +02:00
Christian Lohmaier
0d8c550265 (minor) EXTRA_CDEFS are preprocessor plags 2011-06-02 22:33:25 +02:00
Christian Lohmaier
5a4e27252d remove double "=" from assignment to STATIC_OR_SHARED 2011-05-30 16:37:15 +02:00
Tor Lillqvist
229b1d0673 Cross-compilation support and iOS in particular 2011-05-26 02:58:34 +03:00
Petr Mladek
d116346084 icu-4.2.1-rpath.diff: pass $ORIGIN correctly to icu RPATH
need to escape the dollar '$'
2011-03-29 17:59:06 +02:00
Jan Holesovsky
9ffd61c43e Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-extern-sys 2011-03-18 16:09:37 +01:00
Jan Holesovsky
0257dbcd07 Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	dictionaries/de_AT/README_extension_owner.txt
	dictionaries/de_AT/makefile.mk
	dictionaries/de_CH/README_extension_owner.txt
	dictionaries/de_CH/makefile.mk
	dictionaries/de_DE/README_extension_owner.txt
2011-03-18 15:52:04 +01:00
Fridrich Štrba
be52ac8c78 Don't build static icu that nobody uses 2011-03-18 12:17:56 +01:00
Fridrich Štrba
a12885cdad Don't build things we don't use and that are broken 2011-03-17 15:30:26 +01:00
Caolán McNamara
02b496a567 escape spaces in compiler name 2011-03-15 21:44:17 +00:00
Fridrich Štrba
1c3f71ec25 Make icu 4.4.2 build on Linux 2011-03-15 11:21:43 +01:00
Fridrich Štrba
dc1386ffc3 Downgrade icu to 4.4.2 2011-03-15 10:35:24 +01:00
Fridrich Strba
fb99fbe9bf Don't build with builtin wchar_t on Windows 2011-03-14 14:25:54 +01:00
Tor Lillqvist
beb70d756a Build the Relase configuration with msbuild 2011-03-14 14:55:27 +02:00
Tor Lillqvist
16aa533669 Now when attempting to use MSVC2010, use msbuild to build it 2011-03-14 13:21:50 +02:00
Caolán McNamara
65b7f05257 WaE: silence new icu warnings 2011-03-11 14:43:36 +00:00