From 624924a77b5ea905c6bdb7607f0fae50ce58c5f7 Mon Sep 17 00:00:00 2001 From: Jonas Kunze Date: Tue, 12 Apr 2016 13:06:47 +0200 Subject: [PATCH] Enabled overwriting of MYCF/MYLDFlAGS --- src/makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index adf687f..2e00950 100644 --- a/src/makefile +++ b/src/makefile @@ -21,10 +21,10 @@ PLAT?=linux LUAV?=5.1 # MYCFLAGS: to be set by user if needed -MYCFLAGS= +MYCFLAGS?= # MYLDFLAGS: to be set by user if needed -MYLDFLAGS= +MYLDFLAGS?= # DEBUG: NODEBUG DEBUG # debug mode causes luasocket to collect and returns timing information useful @@ -135,6 +135,8 @@ print: @echo LUALIB_$(PLAT)=$(LUALIB_$(PLAT)) @echo INSTALL_TOP_CDIR=$(INSTALL_TOP_CDIR) @echo INSTALL_TOP_LDIR=$(INSTALL_TOP_LDIR) + @echo CFLAGS=$(CFLAGS) + @echo LDFLAGS=$(LDFLAGS) #------ # Supported platforms