summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/Makefile.in4
-rw-r--r--sss_client/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index 1445cc1c..46b6abd4 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -72,10 +72,10 @@ LDFLAGS += @LDFLAGS@ -L$(srcdir)/lib
LIBS = @LIBS@ $(TALLOC_LIBS) $(TDB_LIBS) $(TEVENT_LIBS) $(POPT_LIBS) $(LDB_LIBS) $(DBUS_LIBS)
PICFLAG = @PICFLAG@
-CFLAGS += -g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
+CFLAGS := -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
$(POPT_CFLAGS) $(TALLOC_CFLAGS) $(TDB_CFLAGS) $(TEVENT_CFLAGS) $(LDB_CFLAGS) $(DBUS_CFLAGS) $(CHECK_CFLAGS)\
-DLIBDIR=\"$(libdir)\" -DVARDIR=\"$(localstatedir)\" -DSHLIBEXT=\"$(SHLIBEXT)\" -DSSSD_LIBEXEC_PATH=\"$(SSSD_LIBEXEC_PATH)\"\
- -DSSSD_INTROSPECT_PATH=\"$(SSSD_INTROSPECT_PATH)\" -DUSE_MMAP=1 @CFLAGS@
+ -DSSSD_INTROSPECT_PATH=\"$(SSSD_INTROSPECT_PATH)\" -DUSE_MMAP=1 $(CFLAGS)
MDLD = @MDLD@
MDLD_FLAGS = @MDLD_FLAGS@
diff --git a/sss_client/Makefile.in b/sss_client/Makefile.in
index d3f512db..37156e3d 100644
--- a/sss_client/Makefile.in
+++ b/sss_client/Makefile.in
@@ -13,7 +13,7 @@ srcdir = @srcdir@
builddir = @builddir@
INSTALLCMD = @INSTALL@
CPPFLAGS = @CPPFLAGS@
-CFLAGS = $(CPPFLAGS) @CFLAGS@
+CFLAGS := $(CPPFLAGS) @CFLAGS@ $(CFLAGS)
LDFLAGS = @LDFLAGS@
EXEEXT = @EXEEXT@
SHLD = @SHLD@
@@ -31,7 +31,7 @@ NSS_SSS_OBJS = common.o passwd.o group.o
PAM_SSS_SOLIB = pam_sss.$(SHLIBEXT)
PAM_SSS_OBJS = pam_sss.o common.o
PAM_LIBS = -lpam -lpam_misc
-PAM_CFLAGS = -DDEBUG -g -Wall -Werror
+PAM_CFLAGS = -Wall -Werror
PAM_CLIENT = pam_test_client
PAM_CLIENT_OBJS = pam_test_client.o