mirror of
https://github.com/tmux/tmux.git
synced 2025-04-23 21:08:48 +00:00
Preserve existing AM_CPPFLAGS and AM_LDFLAGS values.
This commit is contained in:
parent
f6c49cecc1
commit
7d5fd5fcd0
@ -13,7 +13,7 @@ dist-hook:
|
|||||||
grep "^#found_debug=" configure
|
grep "^#found_debug=" configure
|
||||||
|
|
||||||
# Preprocessor flags.
|
# Preprocessor flags.
|
||||||
AM_CPPFLAGS = @XOPEN_DEFINES@ -DTMUX_CONF="\"$(sysconfdir)/tmux.conf\""
|
AM_CPPFLAGS += @XOPEN_DEFINES@ -DTMUX_CONF="\"$(sysconfdir)/tmux.conf\""
|
||||||
|
|
||||||
# glibc as usual does things ass-backwards and hides useful things by default,
|
# glibc as usual does things ass-backwards and hides useful things by default,
|
||||||
# so everyone has to add this.
|
# so everyone has to add this.
|
||||||
|
@ -52,7 +52,7 @@ AC_ARG_ENABLE(
|
|||||||
)
|
)
|
||||||
if test "x$enable_static" = xyes; then
|
if test "x$enable_static" = xyes; then
|
||||||
test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
|
test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
|
||||||
AM_LDFLAGS="-static"
|
AM_LDFLAGS="$AM_LDFLAGS -static"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Is this gcc?
|
# Is this gcc?
|
||||||
|
Loading…
Reference in New Issue
Block a user