X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=configure;h=ba046e9959a5110e4be734df055e0e168cbe06a7;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=68e490edcf82261a320969efb90de8d9e1fc52bb;hpb=ef7ca733ee283439a791bfcaea8016bfa3f44a29;p=melted diff --git a/configure b/configure index 68e490e..ba046e9 100755 --- a/configure +++ b/configure @@ -52,8 +52,8 @@ function build_config [ "$cpu" != "" ] && echo "TARGETARCH=-march=$cpu" && echo "TARGETCPU=-mcpu=$cpu" + echo "OPTIMISATIONS=-O4 -pipe -fomit-frame-pointer" - echo "OPTIMISATIONS=-O4 -pipe -ffast-math -fomit-frame-pointer" echo "CFLAGS+=-Wall -fPIC -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)" case $targetos in @@ -63,6 +63,7 @@ function build_config echo "LDFLAGS+=`sdl-config --libs`" ;; Linux) + echo "OPTIMISATIONS+=-ffast-math" echo "CFLAGS+=-pthread" echo "SHFLAGS=-shared" echo "LIBDL=-ldl"