mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
Use an empty CFLAGS by default to prevent autoconf from setting it when
debugging isn't enabled.
This commit is contained in:
parent
df69ee07e2
commit
f16b6aeabb
@ -8,6 +8,10 @@ AM_INIT_AUTOMAKE([foreign])
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
# When CFLAGS isn't set at this stage and gcc is detected by the macro below,
|
||||
# autoconf will automatically use CFLAGS="-O2 -g". Prevent that by using an
|
||||
# empty default.
|
||||
: ${CFLAGS=""}
|
||||
# Set up the compiler in two different ways and say yes we may want to install.
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
Loading…
Reference in New Issue
Block a user