diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-27 09:24:00 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-27 09:24:00 -0800 |
commit | 107af65f3c443ce436267e9c9d79c5bdb91de084 (patch) | |
tree | 13ed54cb48c1a6200fc1ba653be5cac13c43cfcc /src | |
parent | 3d98d7c188c7e379228346bb91a8d6bdd5050054 (diff) | |
download | teliva-107af65f3c443ce436267e9c9d79c5bdb91de084.tar.gz |
pass some CFLAGS at least to libcurses
My Makefiles are an utter mess. Unclear how to reconcile staying close to upstream with being clean in isolation.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 461f927..721140d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -85,7 +85,7 @@ ansi: $(MAKE) all MYCFLAGS=-DLUA_ANSI bsd: - $(MAKE) -C lcurses + $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket freebsd $(MAKE) -C luasec bsd $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -lncurses" @@ -97,13 +97,13 @@ generic: $(MAKE) all MYCFLAGS= linux: - $(MAKE) -C lcurses + $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket linux $(MAKE) -C luasec linux $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lncursesw" macosx: - $(MAKE) -C lcurses + $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket macosx $(MAKE) -C luasec macosx $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_LINUX" MYLIBS="-L/usr/local/opt/openssl@3/lib -lncurses" |