From 087320ca8226a1e0c2cfcfd196e0fc8373f7cf59 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 7 Dec 2017 16:45:04 -0500 Subject: [PATCH] compilation: export CFLAGS and CXXFLAGS by default. --- compilation | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.43.2