hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.83k stars 581 forks source link

Fix use of '-rdynamic' #1009

Open jpereira opened 4 years ago

jpereira commented 4 years ago

The option should be informed to the linker.

jpereira commented 4 years ago

It fixes the below warnings.

clang -DHAVE_CONFIG_H -I.  -DNDEBUG  -pedantic -Wall -Wextra -std=c99 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"/usr/local/etc\" -I"./linux" -rdynamic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -MT linux/LinuxProcessList.o -MD -MP -MF $depbase.Tpo -c -o linux/LinuxProcessList.o linux/LinuxProcessList.c &&\
mv -f $depbase.Tpo $depbase.Po
clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
natoscott commented 4 years ago

Merged here: htop-dev/htop@0622be6