Skip to content
Permalink
Browse files

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

  • Loading branch information
jengelh committed Dec 20, 2015
1 parent 4ff7bb2 commit d58d50b4465c4c4c6b25d5543d255ad700f9ea90
Showing with 2 additions and 1 deletion.
  1. +1 −0 chrome/BUILD.gn
  2. +1 −1 sandbox/linux/BUILD.gn
@@ -285,6 +285,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 d58d50b

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