common.mak: remove -rdynamic since it's a linker flag

Remove `-rdynamic` since it's a linker flag. This should not cause any problems
because we differentiate between compilation and linking by default. While at
it, adapt the `print_backtrace` documentation accordingly.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Acked-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2022-06-10 14:53:49 +02:00
committed by Jan Höppner
parent 8ef593904d
commit e580190074
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
/*
* Obtain a backtrace and print it to stderr
*
* To get symbols, compile the code with "-rdynamic".
* To get symbols, link the code with "-rdynamic".
*/
static void print_backtrace(void)
{