diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-10-10 12:11:31 +0000 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-10-10 12:11:31 +0000 |
commit | ea6f1557a0dd686fd74020509bdaadf689dd1c76 (patch) | |
tree | 62e812e12ecf94d9165337dbbde0992c568ce6c7 /src/Makefile.am | |
parent | 3ae264aa4cf28ac8c860ad3f74fdc1c68b1a854e (diff) | |
download | dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.gz dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.bz2 dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.zip |
Get compilation working on ARM
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3e851c4..f6102e9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -34,6 +34,12 @@ else UHD_SOURCES = endif +if HAVE_SSE +SIMD_CFLAGS = -msse -msse2 +else +SIMD_CFLAGS = +endif + FFT_DIR=$(top_builddir)/lib/kiss_fft129 FFT_INC=-I$(FFT_DIR) -I$(FFT_DIR)/tools FFT_SRC=$(FFT_DIR)/kiss_fft.c $(FFT_DIR)/kiss_fft.h $(FFT_DIR)/tools/kiss_fftr.c $(FFT_DIR)/tools/kiss_fftr.h kiss_fftsimd.c kiss_fftsimd.h @@ -52,7 +58,7 @@ $(FFT_DIR): tar xzf $(top_srcdir)/lib/kiss_fft129.tar.gz -C $(top_builddir)/lib; \ fi -odr_dabmod_CPPFLAGS = -Wall $(FFT_INC) $(FFT_FLG) -msse -msse2 $(GITVERSION_FLAGS) +odr_dabmod_CPPFLAGS = -Wall $(FFT_INC) $(FFT_FLG) $(SIMD_CFLAGS) $(GITVERSION_FLAGS) odr_dabmod_LDADD = $(ZMQ_LIBS) odr_dabmod_SOURCES = DabMod.cpp \ PcDebug.h \ |