Home page logo
/

nmap-dev logo Nmap Development mailing list archives

small patch for liblua/Makefile
From: olli hauer <ohauer () gmx de>
Date: Sun, 12 Jan 2014 16:03:27 +0100

In nmap/Makefile.in CC=$(CC) is set, however this will be not honored in liblua/Makefile

lua_build: $(LIBLUADIR)/Makefile
        @echo Compiling liblua; cd $(LIBLUADIR) && $(MAKE) liblua.a CC="$(CC)" MYCFLAGS="$(CFLAGS) @LUA_CFLAGS@"


The following patch will allow to overwrite CC in liblua/Makefile

Index: liblua/Makefile
===================================================================
--- liblua/Makefile     (revision 32648)
+++ liblua/Makefile     (working copy)
@@ -6,7 +6,7 @@
 # Your platform. See PLATS for possible values.
 PLAT= none

-CC= gcc
+CC?= gcc
 CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
 LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
 LIBS= -lm $(SYSLIBS) $(MYLIBS)

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
  • small patch for liblua/Makefile olli hauer (Jan 12)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]