about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 5f98020..5b9edcf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,8 +51,8 @@ $(LUA_A): $(CORE_O) $(LIB_O)
 	$(RANLIB) $@
 
 $(LUA_T): $(LUA_O) $(LUA_A)
-	make -C luasocket linux
-	make -C luasec linux
+	make -C luasocket MYCFLAGS= MYLDFLAGS= linux
+	make -C luasec MYCFLAGS= MYLDFLAGS= linux
 	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a luasec/ssl.a $(LIBS)
 
 clean: