Commit 41a4a039 authored by Lucas Russo's avatar Lucas Russo

foreign/libsdbfs/Makefile: add override to CFLAGS

This allows for appending more variables to CFLAGS
by the command line.
parent e991c411
......@@ -19,11 +19,11 @@ OBJDUMP = $(CROSS_COMPILE)objdump
# calculate endianness at compile time
ENDIAN := $(shell ./check-endian $(CC))
CFLAGS = -Wall -ggdb -O2
CFLAGS += -I../../include # for <sdb.h>
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -Wno-pointer-sign
CFLAGS += $(ENDIAN) $(LINUXINCLUDE)
override CFLAGS += -Wall -ggdb -O2
override CFLAGS += -I../../include # for <sdb.h>
override CFLAGS += -ffunction-sections -fdata-sections
override CFLAGS += -Wno-pointer-sign
override CFLAGS += $(ENDIAN) $(LINUXINCLUDE)
LIB = libsdbfs.a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment