summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-12-30 13:48:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-12-30 13:48:34 +0000
commit1ddaa21f25dd09d44a49a7407480072f251f8333 (patch)
tree858c8b367588d6c1cb4de8fcc989ea2cfcefa6ef
parentfeaeb953e72da6a6b260f8c536e25c0322fdf92e (diff)
CWS-TOOLING: integrate CWS hr58
2008-12-29 16:47:08 +0100 hr r265821 : #i97331#: changes for compiling with SunStudio12 on Solaris 10 (x86) 2008-12-18 16:16:11 +0100 hr r265701 : #i97331#: revert to revision r265576 2008-12-18 16:00:41 +0100 hr r265699 : #i97331#: fix typo in last change 2008-12-17 18:16:18 +0100 hr r265653 : #i97331#: add comment 2008-12-17 18:11:11 +0100 hr r265652 : #i97331#: make -xc99=all again dependend on SYSBASEROOT being set 2008-12-17 01:54:23 +0100 hr r265576 : #i97331#: changes for compiling with SunStudio12 on Solaris 10 (Sparc)
-rw-r--r--icu/makefile.mk5
-rw-r--r--libxslt/makefile.mk4
-rw-r--r--python/makefile.mk2
3 files changed, 7 insertions, 4 deletions
diff --git a/icu/makefile.mk b/icu/makefile.mk
index f363155780b5..5a1a1d258f63 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -65,7 +65,10 @@ icu_CFLAGS+=-I$(SYSBASE)$/usr$/include
.IF "$(COMNAME)"=="sunpro5"
icu_CFLAGS+=$(C_RESTRICTIONFLAGS)
.ENDIF # "$(COMNAME)"=="sunpro5"
-icu_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
+# add SYSBASE libraries and make certain that they are found *after* the
+# icu build internal libraries - in case that icu is available in SYSBASE
+# as well
+icu_LDFLAGS+= -L../../lib -L../../stubdata -L$(SYSBASE)$/usr$/lib
.ENDIF # "$(SYSBASE)"!=""
.IF "$(OS)"=="MACOSX"
diff --git a/libxslt/makefile.mk b/libxslt/makefile.mk
index d73c0ffc04ec..a0590873c841 100644
--- a/libxslt/makefile.mk
+++ b/libxslt/makefile.mk
@@ -86,9 +86,9 @@ LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'
.ENDIF # "$(OS)$(COM)"=="SOLARISC52"
.IF "$(SYSBASE)"!=""
-CPPFLAGS+:=-I$(SYSBASE)$/usr$/include -I$(SOLARINCDIR)$/external $(EXTRA_CFLAGS)
+CPPFLAGS+:=-I$(SOLARINCDIR)$/external -I$(SYSBASE)$/usr$/include $(EXTRA_CFLAGS)
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="LINUX"
-LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -L$(SOLARLIBDIR) -lpthread -ldl
+LDFLAGS+:=-L$(SOLARLIBDIR) -L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl
.ENDIF
.ENDIF # "$(SYSBASE)"!=""
diff --git a/python/makefile.mk b/python/makefile.mk
index 0bcdf9754546..66532174defc 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -105,7 +105,7 @@ python_LDFLAGS+=-Wl,-z,noexecstack
# SunStudio on Solaris 10 and above needs the -xc99=all flag already
# during the configuration tests, otherwise the HAVE_LIMITS_H check will
# be wrong resulting in a build breaker.
-.IF "$(SYSBASE)"=="" || "$(OS)$(CPU)"=="SOLARISU"
+.IF "$(OS)"=="SOLARIS"
.IF "$(COMNAME)"=="sunpro5"
CC+:=-xc99=all
.ENDIF # "$(COMNAME)"=="sunpro5"