diff options
author | 2024-05-18 04:09:39 -0300 | |
---|---|---|
committer | 2024-05-24 10:10:41 -0300 | |
commit | 5e2f4c36629ede58c3bb42111fdb3355c1317bcd (patch) | |
tree | 8123099fac07a0c7653fc0086a6980f9eeae6d7e /src/prog.mk | |
parent | profiles: yelp: add Firefox URL open support (#6349) (diff) | |
download | firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.tar.gz firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.tar.zst firejail-5e2f4c36629ede58c3bb42111fdb3355c1317bcd.zip |
build: define CC/GAWK if undefined
Just in case the value is not defined in config.mk and `make` is first
executed from another directory (such as in src/man) instead of the root
directory.
This amends commit 93d623fdf ("build: allow overriding certain tools",
2024-02-23) / PR #6222.
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prog.mk b/src/prog.mk index a639e87fc..4f9309d8c 100644 --- a/src/prog.mk +++ b/src/prog.mk | |||
@@ -5,6 +5,8 @@ | |||
5 | # The includer should probably define PROG and TARGET and may also want to | 5 | # The includer should probably define PROG and TARGET and may also want to |
6 | # define EXTRA_OBJS and extend CLEANFILES. | 6 | # define EXTRA_OBJS and extend CLEANFILES. |
7 | 7 | ||
8 | CC ?= cc | ||
9 | |||
8 | HDRS := | 10 | HDRS := |
9 | SRCS := $(sort $(wildcard $(MOD_DIR)/*.c)) | 11 | SRCS := $(sort $(wildcard $(MOD_DIR)/*.c)) |
10 | OBJS := $(SRCS:.c=.o) | 12 | OBJS := $(SRCS:.c=.o) |