From 4d38ebbde630523bc25efc18ac4a80e5212882cb Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Mon, 12 Oct 2020 01:50:37 -0400 Subject: [PATCH] make it easier to override compiler / linker flags --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 189260e..8ece208 100644 --- a/Makefile +++ b/Makefile @@ -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++