mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-08 11:23:27 +00:00
Added sys/asan.sh and honor LDFLAGS in sys/build.sh
This commit is contained in:
parent
1eccc191e0
commit
07f8439020
4
sys/asan.sh
Executable file
4
sys/asan.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
export CFLAGS="-fsanitize=address -lasan"
|
||||
export LDFLAGS="-lasan"
|
||||
sys/install.sh
|
@ -38,7 +38,7 @@ ${MAKE} mrproper > /dev/null 2>&1
|
||||
if [ -d shlr/capstone/.git ]; then
|
||||
( cd shlr/capstone ; git clean -xdf )
|
||||
fi
|
||||
[ "`uname`" = Linux ] && export LDFLAGS="-Wl,--as-needed"
|
||||
[ "`uname`" = Linux ] && export LDFLAGS="-Wl,--as-needed ${LDFLAGS}"
|
||||
rm -f plugins.cfg
|
||||
./configure ${CFGARG} --prefix=${PREFIX} || exit 1
|
||||
exec ${MAKE} -s -j${MAKE_JOBS} MAKE_JOBS=${MAKE_JOBS}
|
||||
|
Loading…
Reference in New Issue
Block a user