Oops. Fix distutils tests that r82746 broke.
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index d59a682..50c8133 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -262,7 +262,9 @@
     # Add in CFLAGS, LDFLAGS, and CPPFLAGS, which are named with a
     # prefix in the Makefile.
     for var in ('CFLAGS', 'LDFLAGS', 'CPPFLAGS'):
-        done[var] = done['PY_' + var]
+        makefile_value = done.get('PY_' + var)
+        if makefile_value is not None:
+            done[var] = makefile_value
 
     # save the results in the global dictionary
     vars.update(done)