mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
make it easier to override compiler / linker flags
This commit is contained in:
parent
ac3359fe47
commit
4d38ebbde6
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -81,9 +81,9 @@ endif
|
||||||
|
|
||||||
W = -W -Wall -Wno-unused-parameter -Wuninitialized
|
W = -W -Wall -Wno-unused-parameter -Wuninitialized
|
||||||
OPT = -maes -fPIC
|
OPT = -maes -fPIC
|
||||||
CFLAGS = $(W) -Wbad-function-cast $(OPT) -std=c99
|
CFLAGS += $(W) -Wbad-function-cast $(OPT) -std=c99
|
||||||
CXXFLAGS = $(W) -Wno-reorder $(OPT) -std=c++11
|
CXXFLAGS += $(W) -Wno-reorder $(OPT) -std=c++11
|
||||||
LDPARAM = -fPIC -pie
|
LDPARAM += -fPIC -pie
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
CXXFLAGS += -stdlib=libc++
|
CXXFLAGS += -stdlib=libc++
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue