Skip to content

-lm is a linker flag

Avinash Sonawane requested to merge rootkea/xfce4-screensaver:lm into master

Hello!

This fixes these warnings:

  CC       xfce4-screensaver.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-monitor.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-listener-dbus.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-listener-x11.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-manager.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-window-x11.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-prefs.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-theme-manager.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-job.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-debug.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       subprocs.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-grab-x11.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       xfce-bg.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       xfce-desktop-utils.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       xfcekbd-indicator.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-marshal.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     xfce4-screensaver
  CC       xfce4-screensaver-command.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     xfce4-screensaver-command
  CC       xfce4-screensaver-preferences.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     xfce4-screensaver-preferences
  CC       xfce4-screensaver-dialog.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-lock-plug.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       setuid.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-auth-pam.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     xfce4-screensaver-dialog
  CC       xfce4-screensaver-gl-helper.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CC       gs-visual-gl.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     xfce4-screensaver-gl-helper
  CC       test-passwd.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
  CCLD     test-passwd
  CC       test-window.o
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
...

Thanks!

Merge request reports

Loading