diff --git a/core/plug-in/speex/Makefile b/core/plug-in/speex/Makefile index 022a6b13..0a311f32 100644 --- a/core/plug-in/speex/Makefile +++ b/core/plug-in/speex/Makefile @@ -1,7 +1,7 @@ plug_in_name = speex -SPEEX_INC?=/usr/include/ -SPEEX_LIB?=-lspeex +SPEEX_INC=/usr/include/ +SPEEX_LIB=-lspeex # or: # SPEEXDIR?=speex_src @@ -14,6 +14,10 @@ SPEEX_LIB?=-lspeex module_ldflags = $(SPEEX_LIB) module_cflags = -I $(SPEEX_INC) -ansi # -DNOFPU +ifdef NOFPU + module_cflags += -DNOFPU +endif + # or # module_extra_objs = $(SPEEX_LIB) #extra_clean = clean_speex