Skip to content
Snippets Groups Projects
Commit 9071a866 authored by Avinash Sonawane's avatar Avinash Sonawane Committed by Gaël Bonithon
Browse files

Fix build warning from Clang

-lm is a linker flag.

MR: !14
parent aea375ae
No related branches found
No related tags found
1 merge request!14-lm is a linker flag
Pipeline #19544 passed
......@@ -488,7 +488,7 @@ if test x$with_libgl != xno; then
fi
if test "$have_gl" = yes ; then
AC_CHECK_X_LIB(GL, glXChooseVisual, have_libgl=yes, have_libgl=no, -lm)
AC_CHECK_X_LIB(GL, glXChooseVisual, have_libgl=yes, have_libgl=no)
fi
fi
......@@ -1083,7 +1083,7 @@ fi
AC_SUBST(DEBUG_CFLAGS)
# Flags
CFLAGS="$CFLAGS -lm"
LDFLAGS="$LDFLAGS -lm"
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
......
......@@ -80,7 +80,6 @@ floaters_SOURCES = \
floaters_LDADD = \
libgs-theme-engine.a \
$(XFCE_SCREENSAVER_SAVER_LIBS) \
-lm \
$(NULL)
popsquares_SOURCES = \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment