make it easier to override compiler / linker flags

This commit is contained in:
Jethro Grassie 2020-10-12 01:50:37 -04:00
parent ac3359fe47
commit 4d38ebbde6
No known key found for this signature in database
GPG Key ID: DE8ED755616565BB
1 changed files with 3 additions and 3 deletions

View File

@ -81,9 +81,9 @@ endif
W = -W -Wall -Wno-unused-parameter -Wuninitialized
OPT = -maes -fPIC
CFLAGS = $(W) -Wbad-function-cast $(OPT) -std=c99
CXXFLAGS = $(W) -Wno-reorder $(OPT) -std=c++11
LDPARAM = -fPIC -pie
CFLAGS += $(W) -Wbad-function-cast $(OPT) -std=c99
CXXFLAGS += $(W) -Wno-reorder $(OPT) -std=c++11
LDPARAM += -fPIC -pie
ifeq ($(OS), Darwin)
CXXFLAGS += -stdlib=libc++