Changeset 5855:95be516bcf3b in roaraudio for build-system/configure.lib


Ignore:
Timestamp:
01/09/13 12:07:29 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

updated win32 port: added support for implib as well disabling debug infos (which is hardly useful outside win*)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-system/configure.lib

    r5850 r5855  
    4949 echo '--ldflags FLAGS             - Sets additional linker flags (default: '"$LDFLAGS"')' 
    5050 echo '--opti LEVEL                - Sets optimizer level (default: '"$OPTI_O"')' 
     51 echo '--without-debugging         - Disable compiling debug information into binaries' 
    5152 echo '--link-deps MODE            - Model for linking dependencies: auto, full or indirect' 
    5253 echo 
     
    132133   SHIFT_COUNT=1 
    133134  ;; 
     135  '--without-debugging') 
     136   DEBUG_g='' 
     137  ;; 
    134138  '--link-deps') 
    135139   LINK_DEPS="$2" 
     
    368372  SHARED_SUFFIX='.dll' 
    369373  TF_E="$TF_E.exe" 
     374 
     375  # should those be also in the cygwin port? 
     376  IMPLIB='$(BASENAME)$(SHARED_SUFFIX).a' 
     377  LDFLAGS="$LDFLAGS -Wl,--out-implib=\$@.a" 
    370378 elif $TARGET_CYGWIN 
    371379 then 
     
    435443  echo 
    436444  echo "OPTI_O=-O$OPTI_O" 
    437   echo "DEBUG_g=-g" 
     445  echo "DEBUG_g=$DEBUG_g" 
    438446  echo "IMPLIB=$IMPLIB" 
    439447  echo 
Note: See TracChangeset for help on using the changeset viewer.