Skip to contentSkip to conversation

python.inc: make lsb override more concise

PATCH New Richard Purdie 1 participant 1 message Nov 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python.inc: make lsb override more concise

No functionality change, just a readability improvement

---

meta/recipes-devtools/python/python.inc +4 -10
index eee7a64..d0ed55b 100644
@@ -16,6 +16,9 @@ PYTHON_MAJMIN = "2.7"
 
 inherit autotools
 
+PYTHONLSBOPTS = "--with-wctype-functions"
+PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
+
 EXTRA_OECONF = "\
   --with-threads \
   --with-pymalloc \
@@ -24,14 +27,5 @@ EXTRA_OECONF = "\
   --with-signal-module \
   --with-wctype-functions \
   --enable-shared \
-"
-
-EXTRA_OECONF_linuxstdbase = "\
-  --with-threads \
-  --with-pymalloc \
-  --with-cyclic-gc \
-  --without-cxx \
-  --with-signal-module \
-  --enable-shared \
-  ac_cv_sizeof_off_t=8 \
+  ${PYTHONLSBOPTS} \
 "