mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 11:04:40 +00:00
Meta: Do not launch linker commands with ccache
This commit is contained in:
parent
017009437d
commit
847ee6e266
|
@ -65,9 +65,6 @@ template("unix_toolchain") {
|
|||
}
|
||||
|
||||
tool("alink") {
|
||||
if (enable_ccache) {
|
||||
command_launcher = "ccache"
|
||||
}
|
||||
if (current_os == "ios" || current_os == "mac") {
|
||||
command = "libtool -D -static -no_warning_for_no_symbols {{arflags}} -o {{output}} {{inputs}}"
|
||||
not_needed([ "ar" ])
|
||||
|
@ -93,9 +90,6 @@ template("unix_toolchain") {
|
|||
lib_dir_switch = "-L"
|
||||
|
||||
tool("solink") {
|
||||
if (enable_ccache) {
|
||||
command_launcher = "ccache"
|
||||
}
|
||||
outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}"
|
||||
if (current_os == "ios" || current_os == "mac") {
|
||||
command = "$ld -shared {{ldflags}} -o $outfile {{inputs}} {{libs}} {{frameworks}} -Wl,-install_name,@rpath/{{target_output_name}}{{output_extension}}"
|
||||
|
@ -116,9 +110,6 @@ template("unix_toolchain") {
|
|||
}
|
||||
|
||||
tool("solink_module") {
|
||||
if (enable_ccache) {
|
||||
command_launcher = "ccache"
|
||||
}
|
||||
outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}"
|
||||
if (current_os == "ios" || current_os == "mac") {
|
||||
command = "$ld -shared {{ldflags}} -Wl,-flat_namespace -Wl,-undefined,suppress -o $outfile {{inputs}} {{libs}} {{frameworks}} -Wl,-install_name,@rpath/{{target_output_name}}{{output_extension}}"
|
||||
|
|
Loading…
Reference in a new issue