Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 15:49:55 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r563087 - head/www/deno/files
Message-ID:  <202101271549.10RFntpT076212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Wed Jan 27 15:49:55 2021
New Revision: 563087
URL: https://svnweb.freebsd.org/changeset/ports/563087

Log:
  www/deno: fix build on 11.4
  
  bfd is too ancient and don't accept the --build-id option, switch to lld.

Modified:
  head/www/deno/files/patch-cargo-crates_rusty__v8_build_config_compiler_BUILD.gn

Modified: head/www/deno/files/patch-cargo-crates_rusty__v8_build_config_compiler_BUILD.gn
==============================================================================
--- head/www/deno/files/patch-cargo-crates_rusty__v8_build_config_compiler_BUILD.gn	Wed Jan 27 15:49:43 2021	(r563086)
+++ head/www/deno/files/patch-cargo-crates_rusty__v8_build_config_compiler_BUILD.gn	Wed Jan 27 15:49:55 2021	(r563087)
@@ -1,4 +1,4 @@
---- cargo-crates/rusty_v8-0.16.0/build/config/compiler/BUILD.gn.orig	2021-01-19 00:12:27 UTC
+--- cargo-crates/rusty_v8-0.16.0/build/config/compiler/BUILD.gn.orig   2021-01-19 00:12:27 UTC
 +++ cargo-crates/rusty_v8-0.16.0/build/config/compiler/BUILD.gn
 @@ -129,7 +129,7 @@ declare_args() {
    #
@@ -27,15 +27,6 @@
        ldflags += [
          "-Wl,-z,defs",
          "-Wl,--as-needed",
-@@ -406,7 +406,7 @@ config("compiler") {
- 
-   # Linux-specific compiler flags setup.
-   # ------------------------------------
--  if ((is_posix || is_fuchsia) && use_lld) {
-+  if ((is_posix || is_fuchsia) && use_lld && !is_bsd) {
-     ldflags += [ "-fuse-ld=lld" ]
-     if (current_cpu == "arm64") {
-       # Reduce the page size from 65536 in order to reduce binary size slightly
 @@ -487,7 +487,7 @@ config("compiler") {
      ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101271549.10RFntpT076212>