summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsols4.mk
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 15:56:09 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 15:56:09 +0000
commit2d67d237fbfea33327c5c857cd5e369495c2d343 (patch)
treeb1f74ebe7002610a73da1d8b90015008e8c9888c /solenv/inc/unxsols4.mk
parent09749d0373359e8a4e304ffb9d87d9d79827d82a (diff)
INTEGRATION: CWS sb37 (1.19.70); FILE MERGED
2005/09/12 17:52:08 hjs 1.19.70.2: RESYNC: (1.19-1.21); FILE MERGED 2005/09/12 15:42:45 hjs 1.19.70.1: #125477# introduce C_RESTRICTIONFLAGS; supply SYSBASE define
Diffstat (limited to 'solenv/inc/unxsols4.mk')
-rw-r--r--solenv/inc/unxsols4.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk
index 1e5309eb7aa5..c3834a5ebcae 100644
--- a/solenv/inc/unxsols4.mk
+++ b/solenv/inc/unxsols4.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: unxsols4.mk,v $
#
-# $Revision: 1.21 $
+# $Revision: 1.22 $
#
-# last change: $Author: rt $ $Date: 2005-09-08 10:02:42 $
+# last change: $Author: hr $ $Date: 2005-12-28 16:56:09 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -105,10 +105,11 @@ LINKC=$(CC)
# link against set of baseline libraries
.IF "$(SYSBASE)"!=""
-.IF "$(UPDATER)"!=""
-LD_OPTIONS+=-L $(SYSBASE)$/usr$/lib
+C_RESTRICTIONFLAGS*=-xc99=none
+LD_OPTIONS+=-L$(SYSBASE)$/usr$/lib
+CDEFS+=-DSYSBASE="$(SYSBASEINC)"
+CFLAGSCC+=$(C_RESTRICTIONFLAGS)
.EXPORT : LD_OPTIONS
-.ENDIF # "$(UPDATER)"!=""
.ENDIF # "$(SYSBASE)"!=""
# -z combreloc combines multiple relocation sections. Reduces overhead on startup