From f1a1f39234076f15e243bdddf48ffc654037a6a5 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov <lemenkov@gmail.com> Date: Sun, 24 Jul 2011 12:57:38 +0400 Subject: [PATCH 2/3] Allow to override CFLAGS Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> --- makefile_linuxLP64_utf8 | 2 +- makefile_linux_utf8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile_linuxLP64_utf8 b/makefile_linuxLP64_utf8 index abccae3..9458501 100644 --- a/makefile_linuxLP64_utf8 +++ b/makefile_linuxLP64_utf8 @@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o -CFLAGS = -fPIC -m64 -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX +CFLAGS ?= -fPIC -m64 -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX CC = gcc diff --git a/makefile_linux_utf8 b/makefile_linux_utf8 index 21ec7bd..e05cdcc 100644 --- a/makefile_linux_utf8 +++ b/makefile_linux_utf8 @@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o -CFLAGS = -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX +CFLAGS ?= -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX CC = gcc -- 1.7.6