aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/config_test.go')
-rw-r--r--compiler_wrapper/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler_wrapper/config_test.go b/compiler_wrapper/config_test.go
index 86a78928..0e6b44c5 100644
--- a/compiler_wrapper/config_test.go
+++ b/compiler_wrapper/config_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -119,7 +119,7 @@ func TestRealConfigWithConfigNameFlag(t *testing.T) {
func isSysrootHardened(cfg *config) bool {
for _, arg := range cfg.commonFlags {
- if arg == "-pie" {
+ if arg == "-D_FORTIFY_SOURCE=2" {
return true
}
}