Changeset 5575:5293c26f7113 in roaraudio


Ignore:
Timestamp:
07/18/12 14:08:01 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Did some win32 porting:

  • clean up of old win32 Makefile patching
  • Remove tempfiles generated by configure specific to mingw based builds
  • Fix -rdynamic bug also for mingw builds (Closes: #269)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r5573 r5575  
    4848fPIC=true 
    4949Wextra=false 
     50rdynamic=true 
    5051MMCU='' 
    5152LINK_DEPS=full 
     
    13711372then 
    13721373 echo "Adding win32 build arguments..." 
     1374 rdynamic=false 
    13731375 fPIC=false 
    13741376 SHARED_SUFFIX='.dll' 
     
    13771379then 
    13781380 echo "Adding cygwin build arguments..." 
     1381 rdynamic=false 
    13791382 fPIC=false 
    13801383 SHARED_SUFFIX='.dll' 
     
    14641467 echo "SHARED_SUFFIX=$SHARED_SUFFIX" 
    14651468 echo "COMPBIN_SUFFIX=$COMPBIN_SUFFIX" 
    1466  $fPIC   && echo 'fPIC=-fPIC' 
    1467  $Wextra && echo 'Wextra=-Wextra' 
     1469 $rdynamic && echo 'rdynamic=-rdynamic' 
     1470 $fPIC     && echo 'fPIC=-fPIC' 
     1471 $Wextra   && echo 'Wextra=-Wextra' 
    14681472 echo 
    14691473 echo "CC=$CC" 
     
    27112715echo 'config.h created and moved into include/roaraudio/' 
    27122716 
    2713 if $TARGET_CYGWIN 
    2714 then 
     2717if [ "$TARGET_CYGWIN" = 'true' -o "$TARGET_WIN32" = 'true' ] 
     2718then 
     2719 echo "Deleting win32 specific temp files: $TF_E.exe" 
    27152720 rm -f $TF_E.exe 
    2716  echo 'patching Makefiles for cygwin...' 
    2717  find . -name Makefile -print0 | xargs -0 sed 's/\.so/.dll/g; s/-rdynamic//g' -i 
    27182721fi 
    27192722 
  • roard/Makefile

    r5387 r5575  
    1818INCLUDE   = -I../include -I./include 
    1919CFLAGS   += -g -Wall $(OPTI_O) $(DEFINES) $(PKGDEFINES) $(INCLUDE) $(INCPATH) 
    20 LDFLAGS  += -g -Wall -rdynamic -L../lib/ $(LDPATH) 
     20LDFLAGS  += -g -Wall $(rdynamic) -L../lib/ $(LDPATH) 
    2121DRVLIBS   = $(lib_esd) $(lib_ossaudio) $(lib_ao) $(lib_shout) $(lib_sndio) $(lib_rsound) $(lib_portaudio) $(lib_pablio) $(lib_asound) $(lib_winmm) $(lib_pulse_simple) $(lib_pulse) $(lib_jack) $(lib_artsc) 
    2222CODEC_CELT= $(lib_celt) $(lib_celt0) 
Note: See TracChangeset for help on using the changeset viewer.