mirror of
https://github.com/frida/frida-python.git
synced 2026-11-09 17:12:42 -10:00
Disable strict aliasing when building with GCC
This commit is contained in:
1 parent
687c9305d1
commit
dbc81eca79
1 file changed
+4
@@ -16,6 +16,10 @@ AM_PROG_AR
|
||||
AC_PROG_INSTALL
|
||||
LT_INIT
|
||||
|
||||
if echo $CC | grep -q "gcc"; then
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
fi
|
||||
|
||||
AM_PATH_PYTHON([2.6],, [AC_ERROR([Python is required])])
|
||||
PYTHON_PREFIX=$($PYTHON -c 'import sys; print sys.prefix')
|
||||
PYTHON_EXEC_PREFIX=$($PYTHON -c 'import sys; print sys.exec_prefix')
|
||||
|
||||
Reference in new issue
Block a user