makelib/config-linux.make
changeset 126 9cd66b79ca54
parent 122 6fcb351d23a7
child 135 0325651d2b43
equal deleted inserted replaced
125:aaafde2b6c31 126:9cd66b79ca54
    29 COMPRESSED_FILETYPE=targz
    29 COMPRESSED_FILETYPE=targz
    30 SETUP_RULE=setup_linux
    30 SETUP_RULE=setup_linux
    31 
    31 
    32 CC=gcc
    32 CC=gcc
    33 
    33 
       
    34 #
       
    35 # * `-fno-strict-aliasing` since it's almost impossible to write a memory
       
    36 #   manager without breaking C's aliasing rules. Better be on a safe side.
       
    37 #   Nice post about these things: http://blog.regehr.org/archives/1307
       
    38 #
       
    39 # * `-Wno-strict-aliasing` to turn of warnings about breaking aliasing rules. 
       
    40 #   While one would think these wanings should be turned off when 
       
    41 #   `-fno-strict-aliasing` is passed, apparently some GCCs bark anyway. 
       
    42 #
       
    43 # * `-fno-stack-protector` is (was) required on Ubuntu brands where it's 
       
    44 #   by default on. Smalltalk/X green thread implementation does not wotk
       
    45 #   well with it. 
       
    46 #
       
    47 # * `-U_FORTIFY_SOURCE` is (was) required on Gentoo as a workaround for failing 
       
    48 #   longjmp check when _FORTIFY_SOURCE is defined (which is enabled by default 
       
    49 #   on Gentoo. Remove when fixed.
       
    50 #
       
    51 OPT=-fPIC -O2 -fno-strict-aliasing -Wno-strict-aliasing -fno-stack-protector -ggdb3 -pipe -U_FORTIFY_SOURCE
       
    52 
    34 STC_LEXLIB=
    53 STC_LEXLIB=
    35 STC_OPT=-O -fno-stack-protector
    54 
    36 
       
    37 # There are problems with -O3 in gcc3.0, gcc3.3, gcc3.3.1
       
    38 LIBRUN_OPT=-O2 -fPIC -fomit-frame-pointer -fno-stack-protector
       
    39 OS=-DLINUX
    55 OS=-DLINUX
    40 
    56 
    41 FFI_ARCH=x86
    57 FFI_ARCH=x86
    42 FFI_CFLAGS=
    58 FFI_CFLAGS=
    43 FFI_DIR=libffi-3.0.10rc8
    59 FFI_DIR=libffi-3.0.10rc8