Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 17:56:54 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r236115 - in stable/9/lib/libpam: . modules
Message-ID:  <201205261756.q4QHusUV098319@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Sat May 26 17:56:54 2012
New Revision: 236115
URL: http://svn.freebsd.org/changeset/base/236115

Log:
  MFH r227798, r227933: simplify build by using STATIC_CFLAGS

Modified:
  stable/9/lib/libpam/Makefile.inc
  stable/9/lib/libpam/modules/Makefile.inc
Directory Properties:
  stable/9/lib/libpam/   (props changed)

Modified: stable/9/lib/libpam/Makefile.inc
==============================================================================
--- stable/9/lib/libpam/Makefile.inc	Sat May 26 17:53:35 2012	(r236114)
+++ stable/9/lib/libpam/Makefile.inc	Sat May 26 17:56:54 2012	(r236115)
@@ -31,4 +31,6 @@ DEBUG_FLAGS+=	-DDEBUG
 SHLIB_MAJOR=	5
 PAM_MOD_DIR=	${LIBDIR}
 
+STATIC_CFLAGS+=	-DOPENPAM_STATIC_MODULES
+
 .include "../Makefile.inc"

Modified: stable/9/lib/libpam/modules/Makefile.inc
==============================================================================
--- stable/9/lib/libpam/modules/Makefile.inc	Sat May 26 17:53:35 2012	(r236114)
+++ stable/9/lib/libpam/modules/Makefile.inc	Sat May 26 17:56:54 2012	(r236115)
@@ -18,7 +18,4 @@ DPADD+=		${LIBPAM}
 LDADD+=		-lpam
 .endif
 
-.c.o:
-	${CC} ${CFLAGS} -DOPENPAM_STATIC_MODULES -c ${.IMPSRC}
-
 .include "../Makefile.inc"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205261756.q4QHusUV098319>