Honour CFLAGS set in the Makefile.
This commit is contained in:
parent
deeef55ea9
commit
5a886787d3
5
Makefile
5
Makefile
|
@ -22,9 +22,9 @@ PREFIX = $(INSDIR)
|
||||||
|
|
||||||
BUILDDIR = $(ACK_TEMP_DIR)/ack-build
|
BUILDDIR = $(ACK_TEMP_DIR)/ack-build
|
||||||
|
|
||||||
# What build flags do you want to use?
|
# What build flags do you want to use for native code?
|
||||||
|
|
||||||
CFLAGS = -g
|
CFLAGS = -g -O -Wno-return-type
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
# Various commands.
|
# Various commands.
|
||||||
|
@ -120,6 +120,7 @@ $(build-file): first/ackbuilder.lua Makefile $(lua-files) $(our-lua)
|
||||||
PREFIX=$(PREFIX) \
|
PREFIX=$(PREFIX) \
|
||||||
AR=$(AR) \
|
AR=$(AR) \
|
||||||
CC=$(CC) \
|
CC=$(CC) \
|
||||||
|
CFLAGS="$(CFLAGS)" \
|
||||||
> $(build-file)
|
> $(build-file)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in a new issue