aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk.in
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-30 01:11:48 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-12-03 07:52:41 -0300
commit671c3f24923d53bae96c8ef4989c250a5ce787c3 (patch)
tree171900a03c4da7962f382304e26bd7cee312e8a6 /config.mk.in
parentconfigure*: print CC and CFLAGS (diff)
downloadfirejail-671c3f24923d53bae96c8ef4989c250a5ce787c3.tar.gz
firejail-671c3f24923d53bae96c8ef4989c250a5ce787c3.tar.zst
firejail-671c3f24923d53bae96c8ef4989c250a5ce787c3.zip
build: actually set LDFLAGS and LIBS in makefiles
Both variables are used inside on src/prog.mk and src/so.mk, but they are not currently defined in any makefile, so their values cannot be substituted by ./configure. This means that the variables can be set when running make (such as with `make LDFLAGS=-Lfoo`), but changing them in configure.ac has no effect. The same applies when trying to set them when running ./configure (such as with `./configure LDFLAGS=-Lfoo`).
Diffstat (limited to 'config.mk.in')
-rw-r--r--config.mk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk.in b/config.mk.in
index 9973b7eaa..45269afab 100644
--- a/config.mk.in
+++ b/config.mk.in
@@ -53,6 +53,8 @@ MANFLAGS = $(HAVE_LTS) $(HAVE_OUTPUT) $(HAVE_X11) $(HAVE_PRIVATE_HOME) $(HAVE_AP
53 53
54CC=@CC@ 54CC=@CC@
55CFLAGS=@CFLAGS@ 55CFLAGS=@CFLAGS@
56LDFLAGS=@LDFLAGS@
57LIBS=@LIBS@
56 58
57ifdef NO_EXTRA_CFLAGS 59ifdef NO_EXTRA_CFLAGS
58else 60else