X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=ba046e9959a5110e4be734df055e0e168cbe06a7;hb=726f25e61c8ded3f9ff3660fbd25ef71dba2f566;hp=68e490edcf82261a320969efb90de8d9e1fc52bb;hpb=b50585d9682a132848c9f6d040c3bd1c9d6fcafc;p=mlt diff --git a/configure b/configure index 68e490ed..ba046e99 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"