aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 06:35:29 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 06:35:29 +0300
commit3634ebe78185ab5b1c2facbfc4312ca337e926a3 (patch)
tree7a507dbbea2ad34356f6a7a549ca2099ee469e9d
parentnrvo: add licensing notices (diff)
downloadblog-3634ebe78185ab5b1c2facbfc4312ca337e926a3.tar.gz
blog-3634ebe78185ab5b1c2facbfc4312ca337e926a3.zip
nrvo: link everything statically w/ GCC
-rw-r--r--nrvo_by_default/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nrvo_by_default/Makefile b/nrvo_by_default/Makefile
index f9fd487..13feb31 100644
--- a/nrvo_by_default/Makefile
+++ b/nrvo_by_default/Makefile
@@ -5,7 +5,7 @@
#
# > make CXX=x86_64-w64-mingw32-g++
-CXXFLAGS = -Wall -Wextra -DNDEBUG -std=c++11 -static-libgcc -static-libstdc++ -s
+CXXFLAGS = -Wall -Wextra -DNDEBUG -std=c++11 -static -s
optimization_levels = 0 1 2 3