summaryrefslogtreecommitdiff
path: root/volk
diff options
context:
space:
mode:
Diffstat (limited to 'volk')
-rwxr-xr-xvolk/bootstrap6
-rw-r--r--volk/gen/make_makefile_am.py4
2 files changed, 7 insertions, 3 deletions
diff --git a/volk/bootstrap b/volk/bootstrap
index a7fb78ac5..838f03aa2 100755
--- a/volk/bootstrap
+++ b/volk/bootstrap
@@ -20,7 +20,11 @@
# Boston, MA 02110-1301, USA.
rm -fr config.cache autom4te*.cache
-python -B gen/volk_register.py
+#alternative to -B that wont break on python 2.5
+PYTHONDONTWRITEBYTECODE=1
+export PYTHONDONTWRITEBYTECODE
+python gen/volk_register.py
+
mv gen/lib/Makefile.am lib/
aclocal -I config -I gen/config
diff --git a/volk/gen/make_makefile_am.py b/volk/gen/make_makefile_am.py
index d700626bb..f843b4413 100644
--- a/volk/gen/make_makefile_am.py
+++ b/volk/gen/make_makefile_am.py
@@ -77,9 +77,9 @@ noinst_LTLIBRARIES =
if archflags_dict[arch] != "none":
tempstring += "-" + archflags_dict[arch] + " "
- tempstring += "\nnoinst_LTLIBRARIES += libvolk_" + machine_name + ".la "
+ tempstring += "\nnoinst_LTLIBRARIES += libvolk_" + machine_name + ".la "
tempstring += "\nlibvolk_la_LIBADD += libvolk_" + machine_name + ".la\n"
- tempstring += "libvolk_la_CPPFLAGS += -DLV_MACHINE_" + machine_name.swapcase() + " \n"
+ tempstring += "libvolk_la_CPPFLAGS += -DLV_MACHINE_" + machine_name.swapcase() + " \n"
tempstring += "endif\n"