aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorame <[email protected]>2026-04-20 15:00:05 -0500
committerame <[email protected]>2026-04-20 15:00:05 -0500
commitb0ffecc1f4396edd331188524b4a8e8170612c9b (patch)
tree7b1c48a93c3709ea925082df32ddb0a2d6fa3e9a /makefile
parent91738e3cee334ecc122ce11687c7e434c6bb581a (diff)
better cflag handling
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index fe25fa2..67cd0fc 100644
--- a/makefile
+++ b/makefile
@@ -10,8 +10,8 @@ ifeq ($(version),jit)
install_version = 5.1
endif
-CFLAGS := -D_GNU_SOURCE -Wall -fPIC -DGIT_COMMIT='$(GIT_COMMIT)' -DMAJOR_VERSION='$(MAJOR_VERSION)' `pkg-config --cflags lua$(version)`
-LFLAGS := -lm -shared -lcrypto -lssl
+override CFLAGS += -D_GNU_SOURCE -Wall -fPIC -DGIT_COMMIT='$(GIT_COMMIT)' -DMAJOR_VERSION='$(MAJOR_VERSION)' `pkg-config --cflags lua$(version)`
+override LFLAGS += -lm -shared -lcrypto -lssl
LINKER := $(CC)
TARGET := lullaby.so