add fstack-protector into makefile
This commit is contained in:
parent
eb45e4ddd8
commit
a5e2de6e1e
@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Feb 28 13:44:22 MST 2006 - schoi@novell.com
|
|
||||||
|
|
||||||
- compiler option -fstack-protector was removed to the build scripts
|
|
||||||
due to build failure.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 28 14:00:00 IST 2006 - mmanohar@novell.com
|
Wed Feb 28 14:00:00 IST 2006 - mmanohar@novell.com
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
cd $PR/auth_token/krb5_token/linux
|
cd $PR/auth_token/krb5_token/linux
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fstack-protector -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
cd $PR/auth_token/linux
|
cd $PR/auth_token/linux
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fstack-protector -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -19,7 +19,7 @@ ARCH_LIB=
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $PR/c_clientlogin
|
cd $PR/c_clientlogin
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fstack-protector" $2 $3 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
|
|
||||||
cp ./Release/nwautologin ../bin/lux/ndbg/.
|
cp ./Release/nwautologin ../bin/lux/ndbg/.
|
||||||
|
@ -42,7 +42,7 @@ exit $RCODE
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd ../jnsscs
|
cd ../jnsscs
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fstack-protector" $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
cd $PR/login_capture/PAM
|
cd $PR/login_capture/PAM
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fno-strict-aliasing" $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fno-strict-aliasing -fstack-protector" $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -22,7 +22,7 @@ fi
|
|||||||
export PKG_CONFIG_PATH=/usr/lib$ARCH_LIB/pkgconfig:/opt/gnome/lib$ARCH_LIB/pkgconfig:/usr/local/lib$ARCH_LIB/pkgconfig
|
export PKG_CONFIG_PATH=/usr/lib$ARCH_LIB/pkgconfig:/opt/gnome/lib$ARCH_LIB/pkgconfig:/usr/local/lib$ARCH_LIB/pkgconfig
|
||||||
|
|
||||||
cd $PR/c_adlib/ad_gk/native
|
cd $PR/c_adlib/ad_gk/native
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="`pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="`pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` -O2 -fmessage-length=0 -Wall -fstack-protector" $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -24,7 +24,7 @@ fi
|
|||||||
#(ln -f $COMMON_FILES $PR/c_micasadk)
|
#(ln -f $COMMON_FILES $PR/c_micasadk)
|
||||||
cd $PR/c_adlib/ad_kw/native
|
cd $PR/c_adlib/ad_kw/native
|
||||||
moc kwallets_rw.h -o kwallets_rw.moc
|
moc kwallets_rw.h -o kwallets_rw.moc
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAS -O2 -fmessage-length=0 -Wall -g" $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAS -O2 -fmessage-length=0 -Wall -fstack-protector -g" $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
rm kwallets_rw.moc
|
rm kwallets_rw.moc
|
||||||
|
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
cd $PR/c_micasacache
|
cd $PR/c_micasacache
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fstack-protector" $2 $3 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -23,7 +23,7 @@ cd $PR/c_common
|
|||||||
COMMON_FILES=$(ls)
|
COMMON_FILES=$(ls)
|
||||||
(ln -f $COMMON_FILES $PR/c_micasadk)
|
(ln -f $COMMON_FILES $PR/c_micasadk)
|
||||||
cd $PR/c_micasadk
|
cd $PR/c_micasadk
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fstack-protector" $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
cd $PR/auth_token/PAM
|
cd $PR/auth_token/PAM
|
||||||
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fstack-protector -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
|
||||||
RCODE=$?
|
RCODE=$?
|
||||||
rm -f $COMMON_FILES
|
rm -f $COMMON_FILES
|
||||||
if(test $RCODE != 0)
|
if(test $RCODE != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user