enable building python files for gnulinux
diff --git a/CMSIS/DSP/PythonWrapper/setup.py b/CMSIS/DSP/PythonWrapper/setup.py
index 7884518..eacd231 100644
--- a/CMSIS/DSP/PythonWrapper/setup.py
+++ b/CMSIS/DSP/PythonWrapper/setup.py
@@ -14,7 +14,7 @@
# since the visual compiler and the win platform are
# not supported by default in arm_math.h
else:
- cflags = ["-Wno-unused-variable","-Wno-implicit-function-declaration",config.cflags]
+ cflags = ["-Wno-unused-variable","-Wno-implicit-function-declaration",config.cflags,"-D__GNUC_PYTHON__"]
transform = glob.glob(os.path.join(ROOT,"Source","TransformFunctions","*.c"))
#transform.remove(os.path.join(ROOT,"Source","TransformFunctions","arm_dct4_init_q15.c"))
@@ -82,4 +82,4 @@
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
- ])
\ No newline at end of file
+ ])