5091 # definitions. It is replaced with custom functionality when building |
5091 # definitions. It is replaced with custom functionality when building |
5092 # custom sources. |
5092 # custom sources. |
5093 #CUSTOM_AUTOCONF_INCLUDE |
5093 #CUSTOM_AUTOCONF_INCLUDE |
5094 |
5094 |
5095 # Do not change or remove the following line, it is needed for consistency checks: |
5095 # Do not change or remove the following line, it is needed for consistency checks: |
5096 DATE_WHEN_GENERATED=1478079760 |
5096 DATE_WHEN_GENERATED=1478524503 |
5097 |
5097 |
5098 ############################################################################### |
5098 ############################################################################### |
5099 # |
5099 # |
5100 # Initialization / Boot-strapping |
5100 # Initialization / Boot-strapping |
5101 # |
5101 # |
49068 SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/$1' |
49068 SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/$1' |
49069 SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,$1' |
49069 SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,$1' |
49070 else |
49070 else |
49071 # Default works for linux, might work on other platforms as well. |
49071 # Default works for linux, might work on other platforms as well. |
49072 SHARED_LIBRARY_FLAGS='-shared' |
49072 SHARED_LIBRARY_FLAGS='-shared' |
49073 SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN$1' |
49073 SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN$1' |
49074 SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN" |
49074 SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN" |
49075 SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1' |
49075 SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1' |
49076 SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1' |
49076 SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1' |
49077 fi |
49077 fi |
49078 elif test "x$TOOLCHAIN_TYPE" = xclang; then |
49078 elif test "x$TOOLCHAIN_TYPE" = xclang; then |
49093 fi |
49093 fi |
49094 else |
49094 else |
49095 # Default works for linux, might work on other platforms as well. |
49095 # Default works for linux, might work on other platforms as well. |
49096 PICFLAG='-fPIC' |
49096 PICFLAG='-fPIC' |
49097 SHARED_LIBRARY_FLAGS='-shared' |
49097 SHARED_LIBRARY_FLAGS='-shared' |
49098 SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN$1' |
49098 SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN$1' |
49099 SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN" |
49099 SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN" |
49100 SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1' |
49100 SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1' |
49101 SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1' |
49101 SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1' |
49102 fi |
49102 fi |
49103 elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
49103 elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
49104 PICFLAG="-KPIC" |
49104 PICFLAG="-KPIC" |
49105 C_FLAG_REORDER='-xF' |
49105 C_FLAG_REORDER='-xF' |
49106 CXX_FLAG_REORDER='-xF' |
49106 CXX_FLAG_REORDER='-xF' |
49107 SHARED_LIBRARY_FLAGS="-G" |
49107 SHARED_LIBRARY_FLAGS="-G" |
49108 SET_EXECUTABLE_ORIGIN='-R\$$$$ORIGIN$1' |
49108 SET_EXECUTABLE_ORIGIN='-R\$$ORIGIN$1' |
49109 SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN" |
49109 SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN" |
49110 SET_SHARED_LIBRARY_NAME='-h $1' |
49110 SET_SHARED_LIBRARY_NAME='-h $1' |
49111 SET_SHARED_LIBRARY_MAPFILE='-M$1' |
49111 SET_SHARED_LIBRARY_MAPFILE='-M$1' |
49112 elif test "x$TOOLCHAIN_TYPE" = xxlc; then |
49112 elif test "x$TOOLCHAIN_TYPE" = xxlc; then |
49113 # '-qpic' defaults to 'qpic=small'. This means that the compiler generates only |
49113 # '-qpic' defaults to 'qpic=small'. This means that the compiler generates only |