From: Michael Orlitzky Date: Thu, 7 Dec 2017 21:45:04 +0000 (-0500) Subject: compilation: export CFLAGS and CXXFLAGS by default. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=087320ca8226a1e0c2cfcfd196e0fc8373f7cf59;p=bash.d.git compilation: export CFLAGS and CXXFLAGS by default. --- diff --git a/compilation b/compilation index 3368ad2..a166d66 100644 --- a/compilation +++ b/compilation @@ -15,6 +15,10 @@ fi # Not a portage variable, but it's real handy. REPOS="${DISTDIR}/../repositories" +# These are really the only two that make sense to export to +# subsequent commands. +export CFLAGS +export CXXFLAGS # LDFLAGS comes from.. somewhere else. export LDFLAGS="-Wl,-O1 -Wl,--as-needed"