]> gitweb.michael.orlitzky.com - bash.d.git/blobdiff - compilation
compilation: export CFLAGS and CXXFLAGS by default.
[bash.d.git] / 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"