mirror of
https://github.com/KeithDHedger/LFSDesktopProject.git
synced 2026-01-13 05:42:05 +00:00
Fixed stack smashing errors
This commit is contained in:
@ -14,7 +14,7 @@ fi
|
||||
APPNAME=$(basename $0 .cpp)
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
g++ "$0" -O0 -ggdb -I../LFSToolKit -L../LFSToolKit/app/.libs $(pkg-config --cflags --libs x11 xft cairo ) -llfstoolkit -lImlib2 -o $APPNAME||exit 1
|
||||
g++ -Wstack-protector -Werror -fstack-protector "$0" -O0 -ggdb -I../LFSToolKit -L../LFSToolKit/app/.libs $(pkg-config --cflags --libs x11 xft cairo ) -llfstoolkit -lImlib2 -Wstack-protector -Werror -fstack-protector -o $APPNAME||exit 1
|
||||
LD_LIBRARY_PATH=../LFSToolKit/app/.libs $USEVALGRIND ./$APPNAME "$@"
|
||||
retval=$?
|
||||
rm $APPNAME
|
||||
|
||||
Reference in New Issue
Block a user