Changeset 22547


Ignore:
Timestamp:
2010-08-08T22:53:30+02:00 (7 years ago)
Author:
nico
Message:

[packages] freeswitch: build fixes

  • only enable -fgnu89-inline on avr32 for now (fix x86 builds)
  • mark fax & voipcodecs modules as broken on powerpc (breaking in spandsp lib)
  • mark flite module as broken on armeb & avr32 (breaking in flite lib)
  • reorder some variable definitions
  • bump release number
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r22486 r22547  
    1010PKG_NAME:=freeswitch 
    1111PKG_VERSION:=1.0.6 
    12 PKG_RELEASE:=5 
     12PKG_RELEASE:=6 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    320320endif 
    321321 
    322 FS_TARGET_CFLAGS = ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99 -fgnu89-inline -Wno-format 
    323 FS_TARGET_CXXFLAGS = ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC) -fgnu89-inline -Wno-format 
    324 FS_TARGET_CPPFLAGS = -I. -I./lua ${TARGET_CPPFLAGS} 
     322# XXX: -fgnu89-inline is not supported on all compiler versions, so only enable it on avr32 where it solves build issues 
     323ifneq ($(CONFIG_avr32),) 
     324  TARGET_CFLAGS += -fgnu89-inline 
     325  TARGET_CXXFLAGS += -fgnu89-inline 
     326endif 
    325327 
    326328ifneq ($(CONFIG_USE_EGLIBC),) 
     
    329331  endif 
    330332endif 
     333 
     334FS_TARGET_CFLAGS:= ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99 -Wno-format 
     335FS_TARGET_CXXFLAGS:= ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC) -Wno-format 
     336FS_TARGET_CPPFLAGS:= -I. -I./lua ${TARGET_CPPFLAGS} 
    331337 
    332338CONFIGURE_ARGS+= \ 
     
    547553$(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,)) 
    548554$(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,)) 
    549 $(eval $(call BuildPlugin,fax,Fax,mod_fax,,+libjpeg)) # fails in spandsp 
     555$(eval $(call BuildPlugin,fax,Fax,mod_fax,,+libjpeg @(!(powerpc)||BROKEN))) # fails in spandsp 
    550556$(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,)) 
    551557$(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,)) 
    552 $(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@!TARGET_avr32 @!TARGET_ixp4xx)) 
     558$(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@(!(armeb||avr32)||BROKEN))) 
    553559$(eval $(call BuildPlugin,fsv,Video,mod_fsv,,)) 
    554560$(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,)) 
     
    615621$(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,)) 
    616622$(eval $(call BuildPlugin,voicemail,VoiceMail,mod_voicemail,,)) 
    617 $(eval $(call BuildPlugin,voipcodecs,VoIP codecs,mod_voipcodecs,,)) 
     623$(eval $(call BuildPlugin,voipcodecs,VoIP codecs,mod_voipcodecs,,@(!(powerpc)||BROKEN))) # fails in spandsp 
    618624$(eval $(call BuildPlugin,xml-cdr,XML-CDR handler,mod_xml_cdr,,+libcurl)) 
    619625$(eval $(call BuildPlugin,xml-curl,XML-Curl gateway,mod_xml_curl,,+libcurl)) 
Note: See TracChangeset for help on using the changeset viewer.