From: Thadeu Lima de Souza Cascardo Date: Tue, 8 Oct 2013 01:04:17 +0000 (-0300) Subject: Do not override CFLAGS and LIBS. X-Git-Url: http://git.cascardo.info/?p=cascardo%2Ff2fchat.git;a=commitdiff_plain;h=5d3be8914054ab99c9c1a5efe76b00998e1e9fde Do not override CFLAGS and LIBS. Use specific extra CFLAGS and LDFLAGS for the program. --- diff --git a/Makefile.am b/Makefile.am index b5b7499..fc7885d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,4 @@ bin_PROGRAMS = f2fchat f2fchat_SOURCES = f2fchat.c friend.c +f2fchat_CFLAGS = $(GLIB_CFLAGS) +f2fchat_LDFLAGS = $(GLIB_LIBS) diff --git a/configure.ac b/configure.ac index c5731f7..07d7df4 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,4 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL PKG_CHECK_MODULES(GLIB, glib-2.0, , AC_MSG_ERROR(Could not find GLIB)) -LIBS="$GLIB_LIBS" -CFLAGS="$GLIB_CFLAGS" AC_OUTPUT(Makefile)