Skip to content
Permalink
Browse files

build: use -Wl,--no-keep-memory

  • Loading branch information
jengelh committed Dec 20, 2015
1 parent e7468dd commit 60ff87f0034887f47be7a1732aaa82c862f7f1d8
Showing with 2 additions and 1 deletion.
  1. +1 −0 chrome/BUILD.gn
  2. +1 −1 sandbox/linux/BUILD.gn
@@ -309,6 +309,7 @@ if (!is_android && !is_mac) {
]

ldflags = []
ldflags += [ "-Wl,--no-keep-memory" ]

# Chrome OS debug builds for arm need to pass --long-plt to the linker.
# See https://bugs.chromium.org/p/chromium/issues/detail?id=583532
@@ -321,7 +321,7 @@ if (is_linux) {
"-Wno-sign-compare",
]

ldflags = [ "-pie" ]
ldflags = [ "-pie", "-Wl,--no-keep-memory" ]
}
}

0 comments on commit 60ff87f

Please sign in to comment.
You can’t perform that action at this time.