]> gitweb.michael.orlitzky.com - bash.d.git/commitdiff
compilation: export CFLAGS and CXXFLAGS by default.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Dec 2017 21:45:04 +0000 (16:45 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Dec 2017 21:45:04 +0000 (16:45 -0500)
compilation

index 3368ad2806f28fcd0010088cbd95413b66fdc25f..a166d6678bdc9fca71f317b911f5b93c919bc63d 100644 (file)
@@ -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"