From f7a513f6367dbb570ba0a71a4bbbfcbc217b0201 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Mon, 14 Aug 2023 13:34:46 +0100 Subject: [PATCH] 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 Reviewed-by: Trung Nguyen --- 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 5b22f3b446..6a44a41258 100644 --- a/gcc/gcc/config/haiku.opt +++ b/gcc/gcc/config/haiku.opt @@ -27,6 +27,6 @@ pthread Driver rdynamic -Driver +Ignore ; This comment is to ensure we retain the blank line above.