Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv11217
Modified Files:
Tag: rel-1-2-patches
pam_radius
Log Message:
fix compile without ssp
Index: pam_radius
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/pam_radius,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- pam_radius 25 Apr 2006 17:06:46 -0000 1.1.2.2
+++ pam_radius 16 Oct 2007 18:33:37 -0000 1.1.2.3
@@ -26,8 +26,11 @@
case $1 in
build )
if [ "$CONFIG_FREERADIUS" = "y" ]; then
-
- make CC="gcc -fno-stack-protector" $PMAKE || exit 1
+ if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then
+ make CC="gcc -fno-stack-protector" $PMAKE || exit 1
+ else
+ make CC="gcc -fno-stack-protector" $PMAKE || exit 1
+ fi
strip_debug
# install it in local system, because other programs could need it
cp -p pam_radius_auth.so /lib/security || exit 1
|