unxsols4.mk (7871dc3e) | unxsols4.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 --- 119 unchanged lines hidden (view full) --- 128CDEFS+=-DSYSBASE="$(SYSBASE)" 129CFLAGSCC+=$(C_RESTRICTIONFLAGS) 130#.EXPORT : LD_OPTIONS 131.ENDIF # "$(SYSBASE)"!="" 132 133# -z combreloc combines multiple relocation sections. Reduces overhead on startup 134# -norunpath prevents the compiler from recording his own libs in the runpath 135LINKFLAGSRUNPATH_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 --- 119 unchanged lines hidden (view full) --- 128CDEFS+=-DSYSBASE="$(SYSBASE)" 129CFLAGSCC+=$(C_RESTRICTIONFLAGS) 130#.EXPORT : LD_OPTIONS 131.ENDIF # "$(SYSBASE)"!="" 132 133# -z combreloc combines multiple relocation sections. Reduces overhead on startup 134# -norunpath prevents the compiler from recording his own libs in the runpath 135LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\' |
136LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\' | 136LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN'\' 137#LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\' |
137 #TODO: drop $ORIGIN once no URE executable is also shipped in OOo | 138 #TODO: drop $ORIGIN once no URE executable is also shipped in OOo |
138LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' 139LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\' 140LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' | 139LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN'\' 140LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN'\' 141LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN'\' 142#LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' 143#LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\' 144#LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' |
141LINKFLAGSRUNPATH_OXT= | 145LINKFLAGSRUNPATH_OXT= |
142LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\' | 146LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN'\' 147#LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\' |
143LINKFLAGSRUNPATH_NONE= 144LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd 145LINKCFLAGS=-w -mt -z combreloc -norunpath 146 147# -z text force fatal error if non PIC code is linked into shared library. Such code 148# would be expensive on startup 149CHECKFORPIC =-z text 150LINKFLAGSSHLGUI=$(CHECKFORPIC) -G --- 93 unchanged lines hidden --- | 148LINKFLAGSRUNPATH_NONE= 149LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd 150LINKCFLAGS=-w -mt -z combreloc -norunpath 151 152# -z text force fatal error if non PIC code is linked into shared library. Such code 153# would be expensive on startup 154CHECKFORPIC =-z text 155LINKFLAGSSHLGUI=$(CHECKFORPIC) -G --- 93 unchanged lines hidden --- |