-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebugconfig.sh
executable file
·4 lines (3 loc) · 1.55 KB
/
debugconfig.sh
1
2
3
4
#!/bin/bash
autoreconf -vif -Wall
./configure --prefix=/usr --libdir=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fsanitize=address -fno-omit-frame-pointer -lasan -fsanitize=undefined,shift,integer-divide-by-zero,unreachable,vla-bound,null,return,signed-integer-overflow,bounds,alignment,object-size,float-divide-by-zero,float-cast-overflow,nonnull-attribute,returns-nonnull-attribute,bool,enum -fbounds-check -fno-sanitize-recover=undefined,shift,integer-divide-by-zero,unreachable,vla-bound,null,return,signed-integer-overflow,bounds,alignment,object-size,float-divide-by-zero,float-cast-overflow,nonnull-attribute,returns-nonnull-attribute,bool,enum -lubsan -fno-inline -fno-inline-small-functions' 'LDFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fsanitize=address -fno-omit-frame-pointer -lasan -fsanitize=undefined,shift,integer-divide-by-zero,unreachable,vla-bound,null,return,signed-integer-overflow,bounds,alignment,object-size,float-divide-by-zero,float-cast-overflow,nonnull-attribute,returns-nonnull-attribute,bool,enum -fbounds-check -fno-sanitize-recover=undefined,shift,integer-divide-by-zero,unreachable,vla-bound,null,return,signed-integer-overflow,bounds,alignment,object-size,float-divide-by-zero,float-cast-overflow,nonnull-attribute,returns-nonnull-attribute,bool,enum -lubsan -fno-inline -fno-inline-small-functions' "$@"