mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-01 15:20:36 -08:00
GCC's -fstrict-aliasing makes code smaller, and it doesn't seem to go against
ECL's semantics.
This commit is contained in:
parent
bd2128aa27
commit
e7f462c87e
2 changed files with 11 additions and 0 deletions
4
src/configure
vendored
4
src/configure
vendored
|
|
@ -3944,6 +3944,10 @@ else
|
|||
ECL_CC="${CXX}"
|
||||
fi
|
||||
|
||||
if test "${GCC}" = "yes"; then
|
||||
CFLAGS="${CFLAGS} -fstrict-aliasing"
|
||||
fi
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking whether stack growns downwards" >&5
|
||||
echo $ECHO_N "checking whether stack growns downwards... $ECHO_C" >&6
|
||||
|
|
|
|||
|
|
@ -223,6 +223,13 @@ else
|
|||
ECL_CC="${CXX}"
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------
|
||||
dnl This flag is an optimization for GNU
|
||||
dnl ---------------------------------------------------------------------
|
||||
if test "${GCC}" = "yes"; then
|
||||
CFLAGS="${CFLAGS} -fstrict-aliasing"
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Study the call conventions
|
||||
dnl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue