mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
Add -rdynamic
as a no-op, similar to -pthread
.
Haiku binaries already export their symbols, which is the same behaviour as using `-rdynamic` on other platforms; so add `-rdynamic` as a no-op to simplify porting software that depends on the behaviour of `-rdynamic`.
This commit is contained in:
parent
a877b4dce9
commit
9866b1a47a
@ -26,4 +26,7 @@
|
||||
pthread
|
||||
Driver
|
||||
|
||||
rdynamic
|
||||
Driver
|
||||
|
||||
; This comment is to ensure we retain the blank line above.
|
||||
|
@ -163,7 +163,7 @@ Boston, MA 02111-1307, USA. */
|
||||
-Asystem(haiku)"
|
||||
|
||||
#undef CPP_SPEC
|
||||
#define CPP_SPEC "%(cpp_cpu) %{!fno-pic:%{!fno-PIC:-D__PIC__ -D__pic__}} %{pthread:}"
|
||||
#define CPP_SPEC "%(cpp_cpu) %{!fno-pic:%{!fno-PIC:-D__PIC__ -D__pic__}} %{pthread:} %{rdynamic}"
|
||||
|
||||
/* Haiku uses lots of multichars, so don't warn about them unless the
|
||||
user explicitly asks for the warnings with -Wmultichar. Note that
|
||||
|
Loading…
Reference in New Issue
Block a user