aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-09-03 18:28:06 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-09-03 18:28:06 +1000
commit492d8ee49823d46cea4ec211a2cbc7c6989285b3 (patch)
tree4d85980f166d1d78f53f0c82282f03bc0e839f90
parentd39cf31c9db918e3fcaaa1290772729276bb5b9e (diff)
downloadluaossl-492d8ee49823d46cea4ec211a2cbc7c6989285b3.tar.gz
luaossl-492d8ee49823d46cea4ec211a2cbc7c6989285b3.tar.bz2
luaossl-492d8ee49823d46cea4ec211a2cbc7c6989285b3.zip
Fix building compat-5.3.o
Build flags weren't being used due to $(<D) expanding to the compat53/c-api directory
-rw-r--r--src/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index dc8af36..f5c7c55 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -42,7 +42,7 @@ $$(d)/$(1)/%.o: $$(d)/%.c $$(d)/config.h
ifneq ($(1), 5.3)
$$(d)/$(1)/compat53.o: $$(d)/../vendor/compat53/c-api/compat-5.3.c $$(d)/../vendor/compat53/c-api/compat-5.3.h $$(d)/config.h
$$(MKDIR) -p $$(@D)
- $$(CC) $$(CFLAGS_$$(<D)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$$(<D)) -c -o $$@ $$<
+ $$(CC) $$(CFLAGS_$(d)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$(d)) -c -o $$@ $$<
$$(d)/$(1)/%.o: $$(d)/../vendor/compat53/c-api/compat-5.3.h