Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 1f513f4431514abf0718e0fa75e810cc5ee928df..07ac124fa239c41aabd04cf726faac77ed7414db 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -292,10 +292,7 @@ config("compiler") { |
# Linux/Android common flags setup. |
# --------------------------------- |
if (is_linux || is_android) { |
- cflags += [ "-fPIC" ] |
- |
ldflags += [ |
- "-fPIC", |
"-Wl,-z,noexecstack", |
"-Wl,-z,now", |
"-Wl,-z,relro", |