⛏️ index : buildtools.git

author Niels Sascha Reedijk <niels.reedijk@gmail.com> 2023-08-14 13:34:46.0 +01:00:00
committer waddlesplash <waddlesplash@gmail.com> 2023-08-15 0:52:48.0 +00:00:00
commit
f7a513f6367dbb570ba0a71a4bbbfcbc217b0201 [patch]
tree
631eba1a9172c525102ecf40f45e60ed1ec55264
parent
0bb5624b57443c11551842230b12cdf65488f72f
download
f7a513f6367dbb570ba0a71a4bbbfcbc217b0201.tar.gz

GCC: set the '-rdynamic' command line option to ignore

In 9866b1a the '-rdynamic' option was added to GCC 11 for Haiku, with the
intention of it being a no-op. Potentially the behavior has changed between GCC
11 and 13, and the previous approach did not work, given that it gave an error
that the argument was not supported.

This change tries to re-enable -rdynamic with the explicit intention of
ignoring it.

Change-Id: Ice19b30cafe0f1e1289a04818c9d01bf0ea7de09
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/6814
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Trung Nguyen <trungnt282910@gmail.com>

Diff

 gcc/gcc/config/haiku.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gcc/config/haiku.opt b/gcc/gcc/config/haiku.opt
index 5b22f3b..6a44a41 100644
--- a/gcc/gcc/config/haiku.opt
+++ a/gcc/gcc/config/haiku.opt
@@ -27,6 +27,6 @@
Driver

rdynamic
Driver
Ignore

; This comment is to ensure we retain the blank line above.