mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38: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
|
||||
|
||||
# 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,
|
||||
# so everyone has to add this.
|
||||
|
@ -52,7 +52,7 @@ AC_ARG_ENABLE(
|
||||
)
|
||||
if test "x$enable_static" = xyes; then
|
||||
test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
|
||||
AM_LDFLAGS="-static"
|
||||
AM_LDFLAGS="$AM_LDFLAGS -static"
|
||||
fi
|
||||
|
||||
# Is this gcc?
|
||||
|
Loading…
Reference in New Issue
Block a user