Commit 4e90a7d5 authored by Richard M. Stallman's avatar Richard M. Stallman

(CFLAGS): When computing CFLAGS and REAL_CFLAGS

from config.h, use SPECIFIED_CFLAGS to get what the user specified.

(alpha-*-linux*): New configuration.
parent 7e63ac6a
......@@ -164,10 +164,15 @@ case "${canonical}" in
machine=alliant-2800 opsys=bsd4-3
;;
;; Alpha (DEC) machines.
alpha-dec-osf* )
machine=alpha opsys=osf1
;;
alpha-*-linux* )
machine=alpha opsys=linux
;;
## Altos 3068
m68*-altos-sysv* )
machine=altos opsys=usg5-2
......@@ -1095,18 +1100,18 @@ configure___ system_malloc=no
/* Get the CFLAGS for tests in configure. */
#ifdef __GNUC__
configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}'
configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
#else
configure___ CFLAGS=C_DEBUG_SWITCH '${CFLAGS}'
configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
#endif
#else /* not THIS_IS_CONFIGURE */
/* Get the CFLAGS for real compilation. */
#ifdef __GNUC__
configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}'
configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
#else
configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${CFLAGS}'
configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
#endif
#endif /* not THIS_IS_CONFIGURE */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment