Skip to content
Snippets Groups Projects
Commit 08b55da9 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

api: support building with extra flags

parent d1b6b4bd
Branches
Tags
No related merge requests found
# The installation prefix default to /usr/local, but can be set on the cmdline
PREFIX ?= /usr/local
STAGING ?=
PREFIX ?= /usr/local
STAGING ?=
EXTRA_FLAGS ?=
#BUILD = lm32
#BUILD = win32
......@@ -49,8 +50,8 @@ FLAGS := $(FLAGS) -Wall -O2
#FLAGS := $(FLAGS) -DDISABLE_SLAVE
#FLAGS := $(FLAGS) -DDISABLE_MASTER
CFLAGS = $(FLAGS) -Wmissing-declarations -Wmissing-prototypes
CXXFLAGS= $(FLAGS)
CFLAGS = $(EXTRA_FLAGS) $(FLAGS) -Wmissing-declarations -Wmissing-prototypes
CXXFLAGS= $(EXTRA_FLAGS) $(FLAGS)
CC = $(TARGET)gcc
CXX = $(TARGET)g++
......
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