unxsolu4.mk (7871dc3e) unxsolu4.mk (910823ae)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 114 unchanged lines hidden (view full) ---

123CDEFS+=-DSYSBASE="$(SYSBASE)"
124CFLAGSCC+=$(C_RESTRICTIONFLAGS)
125.EXPORT : LD_OPTIONS
126.ENDIF # "$(SYSBASE)"!=""
127
128# -z combreloc combines multiple relocation sections. Reduces overhead on startup
129# -norunpath prevents the compiler from recording his own libs in the runpath
130LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\'
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 114 unchanged lines hidden (view full) ---

123CDEFS+=-DSYSBASE="$(SYSBASE)"
124CFLAGSCC+=$(C_RESTRICTIONFLAGS)
125.EXPORT : LD_OPTIONS
126.ENDIF # "$(SYSBASE)"!=""
127
128# -z combreloc combines multiple relocation sections. Reduces overhead on startup
129# -norunpath prevents the compiler from recording his own libs in the runpath
130LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\'
131LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
131LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN'\'
132#LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
132 #TODO: drop $ORIGIN once no URE executable is also shipped in OOo
133 #TODO: drop $ORIGIN once no URE executable is also shipped in OOo
133LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
134LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
134LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN'\'
135LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN'\'
136#LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
137#LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
135LINKFLAGSRUNPATH_OXT=
138LINKFLAGSRUNPATH_OXT=
136LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
139LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN'\'
140#LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
137LINKFLAGSRUNPATH_NONE=
138LINKFLAGS=-m64 -w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=stlport4
139LINKCFLAGS=-m64 -w -mt -z combreloc -norunpath
140
141# -z text force fatal error if non PIC code is linked into shared library. Such code
142# would be expensive on startup
143CHECKFORPIC =-z text
144LINKFLAGSSHLGUI=$(CHECKFORPIC) -G

--- 94 unchanged lines hidden ---
141LINKFLAGSRUNPATH_NONE=
142LINKFLAGS=-m64 -w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=stlport4
143LINKCFLAGS=-m64 -w -mt -z combreloc -norunpath
144
145# -z text force fatal error if non PIC code is linked into shared library. Such code
146# would be expensive on startup
147CHECKFORPIC =-z text
148LINKFLAGSSHLGUI=$(CHECKFORPIC) -G

--- 94 unchanged lines hidden ---