mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/binutils: filter another flag in tests
Filter -mno-direct-extern-access from tests to avoid: ``` FAIL: Build indirect-extern-access-1a without PIE FAIL: Build indirect-extern-access-2a without PIE FAIL: Build pr21997-1a FAIL: Build pr21997-1b FAIL: Build pr22001-1a FAIL: Build pr22001-1b FAIL: Build pr25749-1b (-pie -fPIE -w) FAIL: Build property 1 (.o) FAIL: Build property 2 (.o) FAIL: Build property-6.o FAIL: Build protected-data-1 without PIE FAIL: Build protected-func-2a without PIE FAIL: Build protected-func-2 without PIE FAIL: S-records FAIL: Undefined weak symbol (-fno-PIE -no-pie) ``` (I have a patch locally to add -mno-direct-extern-access to the filter-flags whitelist which exposes this.) Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -421,6 +421,9 @@ src_test() {
|
||||
# lto-wrapper warnings which confuse tests
|
||||
filter-flags '-Wa,*'
|
||||
|
||||
# Adds a property which confuses tests
|
||||
filter-flags '-mno-direct-extern-access'
|
||||
|
||||
# bug #637066
|
||||
filter-flags -Wall -Wreturn-type
|
||||
|
||||
|
||||
@@ -421,6 +421,9 @@ src_test() {
|
||||
# lto-wrapper warnings which confuse tests
|
||||
filter-flags '-Wa,*'
|
||||
|
||||
# Adds a property which confuses tests
|
||||
filter-flags '-mno-direct-extern-access'
|
||||
|
||||
# bug #637066
|
||||
filter-flags -Wall -Wreturn-type
|
||||
|
||||
|
||||
@@ -415,6 +415,9 @@ src_test() {
|
||||
# lto-wrapper warnings which confuse tests
|
||||
filter-flags '-Wa,*'
|
||||
|
||||
# Adds a property which confuses tests
|
||||
filter-flags '-mno-direct-extern-access'
|
||||
|
||||
# bug #637066
|
||||
filter-flags -Wall -Wreturn-type
|
||||
|
||||
|
||||
@@ -415,6 +415,9 @@ src_test() {
|
||||
# lto-wrapper warnings which confuse tests
|
||||
filter-flags '-Wa,*'
|
||||
|
||||
# Adds a property which confuses tests
|
||||
filter-flags '-mno-direct-extern-access'
|
||||
|
||||
# bug #637066
|
||||
filter-flags -Wall -Wreturn-type
|
||||
|
||||
|
||||
@@ -415,6 +415,9 @@ src_test() {
|
||||
# lto-wrapper warnings which confuse tests
|
||||
filter-flags '-Wa,*'
|
||||
|
||||
# Adds a property which confuses tests
|
||||
filter-flags '-mno-direct-extern-access'
|
||||
|
||||
# bug #637066
|
||||
filter-flags -Wall -Wreturn-type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user