Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/auriamg/macdylibbundler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorauriamg <auria.mg@gmail.com>2021-08-03 03:22:42 +0300
committerGitHub <noreply@github.com>2021-08-03 03:22:42 +0300
commita023c3c130f4fb0d3c476900b21a8e679433a059 (patch)
tree11a2e14eac2134800a79ce497a8caeeb7b0ecf6c
parent69190453741f8f92cb4cd35ef65e6916cdb272e6 (diff)
parent6a66195d348e42097d06688a1b60cd61972d0a1f (diff)
Merge pull request #65 from ryandesign/patch-1
Allow user to set CXXFLAGS without losing -std
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index df8c440..1dd957a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
DESTDIR=
PREFIX=/usr/local
-CXXFLAGS=-O2 -std=c++11
+CXXFLAGS?=-O2
+CXXFLAGS+=-std=c++11
CPP_FILES=$(wildcard src/*.cpp)
OBJ_FILES=$(notdir $(CPP_FILES:.cpp=.o))