keep memory of ./configure parameters

This commit is contained in:
Thomas Bernard 2020-06-03 23:54:24 +02:00
parent 8a665a1c8e
commit ddf328845a
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
4 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,10 @@ INSTALL = install
STRIP = strip STRIP = strip
DOXYGEN ?= doxygen DOXYGEN ?= doxygen
.ifndef CONFIG_OPTIONS
CONFIG_OPTIONS != cat .configure.cache
.endif
# OSNAME and FWNAME are used for building OS or FW dependent code. # OSNAME and FWNAME are used for building OS or FW dependent code.
OSNAME != uname -s OSNAME != uname -s
ARCH != uname -m ARCH != uname -m

View File

@ -21,6 +21,7 @@
# ./configure them and build them then miniupnpd will build using : # ./configure them and build them then miniupnpd will build using :
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make # $ IPTABLESPATH=/path/to/iptables-1.4.1 make
# #
CONFIG_OPTIONS ?= $(cat .configure.cache)
CONFIG_OPTIONS += --firewall=iptables CONFIG_OPTIONS += --firewall=iptables
#CFLAGS = -O -g -DDEBUG #CFLAGS = -O -g -DDEBUG
CFLAGS ?= -Os CFLAGS ?= -Os

View File

@ -17,6 +17,7 @@
# (default INSTALLPREFIX is /usr) # (default INSTALLPREFIX is /usr)
# #
# #
CONFIG_OPTIONS ?= $(cat .configure.cache)
CONFIG_OPTIONS += --firewall=nftables CONFIG_OPTIONS += --firewall=nftables
#CFLAGS = -O -g #-DDEBUG #CFLAGS = -O -g #-DDEBUG
CFLAGS ?= -Os CFLAGS ?= -Os

1
miniupnpd/configure vendored
View File

@ -68,6 +68,7 @@ case "$argv" in
esac esac
done done
echo $* > .configure.cache
BASEDIR=`dirname "$0"` BASEDIR=`dirname "$0"`
RM="rm -f" RM="rm -f"
MV="mv" MV="mv"